Add base58 encoding

This will be really useful for shorting the length of shares in your other repo:
https://github.com/halfmoonlabs/secret-sharing