Skip to content

Instantly share code, notes, and snippets.

@jpoz
Created July 5, 2011 22:14
Show Gist options
  • Save jpoz/1066091 to your computer and use it in GitHub Desktop.
Save jpoz/1066091 to your computer and use it in GitHub Desktop.
@key = EzCrypto::Key.with_password "special", "secretzz"
info = @key.encrypt("sensitive information")
encrypted = Base64.encode64(info)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment