react-native-quick-crypto icon indicating copy to clipboard operation
react-native-quick-crypto copied to clipboard

Invalid Cipher Algorithm

Open brianjd opened this issue 2 years ago • 3 comments

Currently experiencing receiving the message Invalid Cipher Algorithm when trying to use createCipheriv. Looking at the RNQC source code it appears to happen when the JSI bindings aren't installed. But I am receiving the below in my output. Any other reason why Invalid Cipher Algorithm would be returned/thrown?

Installing JSI bindings for react-native-quick-crypto...
Successfully installed JSI bindings for react-native-quick-crypto!

brianjd avatar Jun 11 '23 19:06 brianjd

Same problem here, any solution already? Thanks

abreurapha avatar Oct 13 '23 13:10 abreurapha

@abreurapha In my case I only required a few specific functions, I ended up writing my own native module and removed this library.

brianjd avatar Oct 13 '23 13:10 brianjd

The problem is that not all algorithms are implemented. Sponsoring clients dictated which algorithms were implemented. If you get the error, most than likely the specific algorithm you were trying to use, just wasn't implemented

ospfranco avatar Nov 27 '23 09:11 ospfranco