margelo / react-native-quick-crypto

⚡️ A fast implementation of Node's `crypto` module written in C/C++ JSI
Other
649 stars 82 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 9 months ago

Same problem here, any solution already? Thanks

brianjd commented 9 months 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 7 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