Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import CryptoJS from 'crypto-js'
- let c = (CryptoJS.AES.encrypt('ceva', 'key'))
- console.log(String(c));
- console.log(CryptoJS.AES.decrypt(String(c), 'key').toString(CryptoJS.enc.Utf8));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement