react-native-rsa-native
react-native-rsa-native copied to clipboard
Using RSA.signWithAlgorithm throws an error with some algorithms
const { private: privateKey, public: publicKey } = await RSA.generateKeys(2048)
const signature = await RSA.signWithAlgorithm('test', privateKey, 'SHA256withECDSA')
On an Android emulator SHA256withRSA works but I'd like to use SHA256withECDSA
When I do though, it immediately throws an error
signature initialized as EC (not EC)