react-native-rsa-native
react-native-rsa-native copied to clipboard
A native implementation of RSA key generation and encryption/decryption.
When calling `RSAKeychain.getPublicKey()` on iOS, it returns an object `{public: string}` instead of a `string`. The app was built with XCode 14 and react-native 0.69.6.
Hello. I'm traying to install and use this Lib. But, when I compile to iOS having this> _**`Could not build Objective-C module 'react_native_rsa_native'.`**_ , and everything crash, cannot to deploy...
Hey guys. I'm working with Expo, I tried to implement this library inside a react hooks, but when I try to run using this code: ``` import { createContext, useContext,...
It does not work with expo- Errors [Unhandled promise rejection: TypeError: null is not an object (evaluating '_reactNativeRsaNative.RSA.generateKeys')] at src\utils\pki.ts:11:4 in createKeyPairRSA at node_modules\@babel\runtime\helpers\regeneratorRuntime.js:86:13 in tryCatch at node_modules\@babel\runtime\helpers\regeneratorRuntime.js:66:31 in at...
Which hash method is used on the message in RSA.sign() function?
generating keys and encryption/decryption **seem** to work for me in React Native environment but fail when I run these functions in jest unit tests: ```js import { RSA } from...
This is the current description of the library: "A native implementation of RSA key generation and encryption/decryption, sign/verify. Keychain implementation Implementation is in PKCS1" This however is wrong because although...
While using the RSA.generateKeys() method I've noticed that it generates differently formatted keys depending on the OS. I've noticed that the Android one is very differently generated than the iOS...