base32.cr
Base32.cr
Base32 Encoding for Crockford's Base32.
- Currently supports only
Int64
for encoder input
Installation
-
Add the dependency to your
shard.yml
:dependencies: base32: github: maiha/base32.cr
-
Run
shards install
Usage
require "base32"
Base32.encode(123456789012) # => "3JZ9J6GM"
Base32.decode("3JZ9J6GM") # => 123456789012
Contributing
- Fork it (https://github.com/maiha/base32.cr/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
Contributors
- maiha - creator and maintainer
Repository
base32.cr
Owner
Statistic
- 2
- 1
- 0
- 0
- 0
- about 3 years ago
- March 27, 2021
License
MIT License
Links
Synced at
Mon, 06 May 2024 18:09:35 GMT
Languages