Add Base58Encode and Base58Decode functions.  ok davec@