Last active
December 27, 2016 23:07
-
-
Save kv109/d46b2f036eb45bc3147e92f01a1ad104 to your computer and use it in GitHub Desktop.
aes5
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
encrypted = AES.encrypt("Super secret message", "password") | |
decrypted = AES.decrypt(encrypted, "totally wrong password") | |
decrypted #=> Super secret message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment