I wrote this shard to server a very specific purpose for me and stopped as soon as I met that need. Kirk @wyhaines has done some amazing work over here. Make sure you just use that. I will not be providing updates to this shard.
https://github.com/wyhaines/base58.cr
Base58 utility to encode integers as strings and vice versa.
Add this to your application's shard.yml
:
dependencies:
base58:
github: russ/base58
require "base58"
Base58.decode("6hENdZ")
Base58.encode(3470417529)
- Fork it ( https://github.com/russ/base58/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
- russ Russ Smith - creator, maintainer
Code based on https://github.com/dougal/base58