Skip to content

Instantly share code, notes, and snippets.

@joshbuddy
Created January 24, 2010 07:02
Show Gist options
  • Save joshbuddy/285063 to your computer and use it in GitHub Desktop.
Save joshbuddy/285063 to your computer and use it in GitHub Desktop.
>> Anybase::Base73ForURL.to_native((1 << 128)-1)
=> "Se'IgbSCfu$0)cMM(odbD"
>> Anybase::Base73ForURL.to_native((1 << 128)-1).size
=> 21
>> Anybase::Hex.to_native((1 << 128)-1)
=> "ffffffffffffffffffffffffffffffff"
>> Anybase::Hex.to_native((1 << 128)-1).size
=> 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment