Skip to content

Instantly share code, notes, and snippets.

@rumblestrut
Created March 27, 2013 13:45
Show Gist options
  • Select an option

  • Save rumblestrut/5254257 to your computer and use it in GitHub Desktop.

Select an option

Save rumblestrut/5254257 to your computer and use it in GitHub Desktop.
Base 64 decoding with Ruby.
require "base64"
enc = Base64.decode64("UHV0IHlvdXIgc2hvZXMgb24u")
puts enc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment