Satoshi Base58 encoding/decoding pasted from bitcoinj, reformatted and tested against Bitcoin Core examples
Address encoding/decoding