Skip to content

Instantly share code, notes, and snippets.

@kv109
Last active December 27, 2016 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kv109/d46b2f036eb45bc3147e92f01a1ad104 to your computer and use it in GitHub Desktop.
Save kv109/d46b2f036eb45bc3147e92f01a1ad104 to your computer and use it in GitHub Desktop.
aes5
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