Skip to content

Instantly share code, notes, and snippets.

@ivyl
Last active December 28, 2015 02:39
Show Gist options
  • Save ivyl/7428982 to your computer and use it in GitHub Desktop.
Save ivyl/7428982 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
require 'base32'
key = [ARGV.first].pack("H*")
puts Base32.encode(key)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment