Skip to content

Instantly share code, notes, and snippets.

@madrobby
Last active January 1, 2016 00:59
Show Gist options
  • Save madrobby/8069916 to your computer and use it in GitHub Desktop.
Save madrobby/8069916 to your computer and use it in GitHub Desktop.
URLcrypt.key = '...'
URLcrypt.encrypt('chunky bacon!')
# => "sgmt40kbmnh1663nvwknxk5l0mZ6Av2ndhgw80rkypnp17xmmg5hy"
URLcrypt.decrypt('sgmt40kbmnh1663nvwknxk5l0mZ6Av2ndhgw80rkypnp17xmmg5hy')
# => "chunky bacon!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment