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

A simpler React-Native crypto library

Results 14 react-native-simple-crypto issues
Sort by recently updated
recently updated
newest added

This library will allow converting a generated digest to binary?

I have just installed the package and used the sha512 package. > I have also linked the library and i am on.a mac M1 Chip ``` const sha512Hash = await...

Hello, How can I use this library to encrypt and decrypt files? Usually, the approach to working with files is reading the file chunk by chunk updating the cipher, and...

I wonder why the hashing functions are all sync natively, yet return promises? Any reason for that?

Hi, when I did a security testing of my app I got the warning that I use derived crypto keys. the way I use the library is like this. ```...

Please what is the default value IV parameter?

This can't be right? ![image](https://user-images.githubusercontent.com/164625/109369297-27a09a00-789c-11eb-9c7e-352c3f969a87.png) https://github.com/ghbutton/react-native-simple-crypto/blob/c338e2e3367c7907fa84999d5f65182385a69ac2/android/src/main/java/com/pedrouid/crypto/RSA.java#L155 The RSA.decrypt and RSA.decrypt64 both threat input as base64. Shouldn't the non base64 version just take the input string without decoding it first?

I am somehow unable to write a proper mock for the library. I though to mock all native calls using `node-forge` JS calls. I know it will not properly test...

I am getting 20ms for a 4096bit RSA key decrypting on iOS and 223ms on Android consistently. Some of the overhead is the React Native bridge, which we can not...