Using encrypted data
Closed this issue · 1 comments
aaronbesson commented
Is there a way to use encrypted data in the QR code?
aaronbesson commented
ok figured it out, i'm encrypting the data using react-native-crypto-js
const ciphertext = CryptoJS.AES.encrypt(JSON.stringify({
key: value,
user: uid
}), 'j8h7d5s3vbynu@jmio09imu8&n7ycd5').toString();
console.log("encrypted text", ciphertext.toString());