margelo / react-native-quick-crypto

⚡️ A fast implementation of Node's `crypto` module written in C/C++ JSI
Other
718 stars 93 forks source link

Invalid Cipher Algorithm #179

Open brianjd opened 1 year ago

brianjd commented 1 year ago

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!
abreurapha commented 1 year ago

Same problem here, any solution already? Thanks

brianjd commented 1 year ago

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

ospfranco commented 12 months ago

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