react-native-rsa-native
react-native-rsa-native copied to clipboard
A native implementation of RSA key generation and encryption/decryption.
What encryption type is used by this library? I would like to use `RSA-PSS` to match my webcrypto code: ``` await crypto.subtle.generateKey( { name: "RSA-PSS", hash: "SHA-256", modulusLength: 4096, publicExponent:...
Hello, I would really like to be able to export the private key from RNRSAKeychain. I've tried to fork and add here, https://github.com/Evanfeenstra/react-native-rsa-native/blob/master/android/src/main/java/com/RNRSA/RNRSAKeychainModule.java#L338, but it seem like `this.privateKey` is not...
Hi Is it possible to restrict the accessibility settings using this library? I want to generate keys in the device keychain, and require the user to re-authenticate via either their...
//myprivate:string const signMessage = await RSA.signWithAlgorithm(message,`${my private}`,RSA.SHA256withRSA); Error Domain=NSOSStatusErrorDomain Code=50 "RSA private key creation from data failed"
As discussed [here](https://github.com/amitaymolko/react-native-rsa-native/issues/50) I'm opening this PR. Please review the code, at my backend part it's working like a charm. Thanks.
When exporting a key from the iPhone keychain, it's exported in a cut down format – just the public key and exponent without any of the other ASN.1 stuff we’d...
Write basic tests and add travisCI
I upgraded our app to react-native 0.69.6 and upgraded this library from v1 to v2 in the same go. After installing the new app version on iOS devices the pre-existing...