Last active
December 27, 2016 23:02
-
-
Save kv109/5f6597fbc1498bb66799e9f782db27f4 to your computer and use it in GitHub Desktop.
aes4
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, "ggssword") # "pa" => "gg" | |
decrypted #=> Super secret message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment