-
-
Save mvberg/30700e07246cb7f5cc76a56af6440da3 to your computer and use it in GitHub Desktop.
AES with Crypto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var encrypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase"); | |
//U2FsdGVkX18ZUVvShFSES21qHsQEqZXMxQ9zgHy+bu0= | |
var decrypted = CryptoJS.AES.decrypt(encrypted, "Secret Passphrase"); | |
//4d657373616765 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment