Skip to content

PythonEngineer007/base32.cr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base32.cr

Base32 Encoding for Crockford's Base32.

  • Currently supports only Int64 for encoder input

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      base32:
        github: maiha/base32.cr
  2. Run shards install

Usage

require "base32"

Base32.encode(123456789012) # => "3JZ9J6GM"
Base32.decode("3JZ9J6GM")   # => 123456789012

Contributing

  1. Fork it (https://github.com/maiha/base32.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • maiha - creator and maintainer

About

Base32 Encoding for Crockford's Base32

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Crystal 76.8%
  • Makefile 23.2%