This shard contains base32, A Crystal library for encoding and decoding in base32 as per RFC 3548
Add this to your application's shard.yml
:
dependencies:
crystal-base32:
github: SushiChain/crystal-base32
require "crystal-base32"
require "base32"
encoded = Base32.encode("chunky bacon!") #==> "MNUHK3TLPEQGEYLDN5XCC==="
decoded = Base32.decode(encoded) #==> "chunky bacon!"
puts %Q{"#{decoded}" is "#{encoded}" in base32}
> crystal spec
- RFC 3548: http://www.faqs.org/rfcs/rfc3548.html
- Fork it ( https://github.com/SushiChain/crystal-base32/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- kingsleyh Kingsley Hendrickse - creator, maintainer