forked from stesla/base32
-
Notifications
You must be signed in to change notification settings - Fork 0
A library which provides base32 decoding and encoding.
License
chrisumbel/base32
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
= base32 For Version: 0.1.3 This package contains base32, a ruby extension for encoding and decoding in base32 per RFC 3548. == Download The latest version of base32 can be found at http://rubyforge.org/frs/?group_id=3938 == Installation === Normal Installation You can install base32 with the following command from the distribution directory. % rake install === Gem Installation Download and install base32 with the following command. % gem install --remote base32 === Running the Test Suite If you want to run the automated tests for base32, issue this command from the distribution directory. % rake test:all == References * RFC 3548: http://www.faqs.org/rfcs/rfc3548.html == Simple Example require "base32" encoded = Base32.encode("chunky bacon!") #==> "MNUHK3TLPEQGEYLDN5XCC===" decoded = Base32.decode(encoded) #==> "chunky bacon!" puts %Q{"#{decoded}" is "#{encoded}" in base32}
About
A library which provides base32 decoding and encoding.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 45.6%
- Java 35.7%
- Ruby 18.7%