Created
June 16, 2014 16:34
-
-
Save skout23/f941fdf14cefe15d312d to your computer and use it in GitHub Desktop.
silly base64decode(rot13()) for when I post bday stuff on friends fb
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
#!/usr/bin/env ruby | |
# silly base64decode(rot13()) | |
require 'base64' | |
string = "VW5jY2wgT3ZlZ3VxbmwgTnkh" | |
plain = Base64.decode64(string).to_s.tr 'A-Za-z','N-ZA-Mn-za-m' | |
puts plain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment