react-native-crypto-js
react-native-crypto-js copied to clipboard
CryptoJS is a growing collection of standard and secure cryptographic algorithms implemented in JavaScript using best practices and patterns. They are fast, and they have a consistent and simple inter...
How to use a rivate key and public key
I used same code for aes encrypt (in Readme file) for my react-native android app and server, let data = [{id: 1}, {id: 2}] // Encrypt in react-native android app...
`const cipherText = CryptoJS.AES.encrypt(uri, keyStringSelect, { iv: ivStringSelect, mode: CryptoJS.mode.CBC, padding: CryptoJS.pad.Pkcs7, });` I want to change the blockSize of padding to 16, How can I do that ? please...
is it not supported SHA algo? ``` import CryptoJS from 'react-native-crypto-js'; export const encryptSha = (text: string) => { console.log("result : ", CryptoJS); }; ```
`var scanIO = "encrpytedstring"; ` above scanIO variable is generated from web Crypto JS library and below i'm decrypting in React-native `let scannedGuid = CryptoJS.enc.Utf8.stringify(CryptoJS.AES.decrypt(scanIO, 'seckey'))` above code Returns empty...
Please rename function name from EvpKDF to PBKDF2
Hi All, I'm using this package to generate HmacMD5 hash string in my application. with the below code in my function, I'm able to generate AES encrypted String. ``` import...
package define this HmacSHA256 function in Documentation but it return this error _reactNativeCryptoJS.default.HmacSHA256() is not a function
const bytes = CryptoJS.AES.decrypt( {ciphertext: crypted}, CryptoJS.enc.Utf8.parse(cryptkey), ); file rendering time it will return TypeError: undefined is not an object (evaluating 'c[d]') this error. please check the following for the...