margelo / react-native-quick-crypto

⚡️ A fast implementation of Node's `crypto` module written in C/C++ JSI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid Cipher Algorithm

brianjd opened this issue · comments

commented

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!

Same problem here, any solution already? Thanks

commented

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

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