Heads Up
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
Base58 utility to encode integers as strings and vice versa.
Installation
Add this to your application's shard.yml
:
dependencies:
base58:
github: russ/base58
Usage
require "base58"
Base58.decode("6hENdZ")
Base58.encode(3470417529)
Contributing
- 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
Contributors
- russ Russ Smith - creator, maintainer
Code based on https://github.com/dougal/base58