Implemented base58check functions.