- SEE ALSO
Bitcoin::Crypto::Base58 - Bitcoin's Base58 helpers in Perl
use Bitcoin::Crypto::Base58 qw(:all); my $b58str = encode_base58check(pack "A*", "hello"); my $bytestr = decode_base58check($b58str);
Implementation of Base58Check algorithm and alias to CryptX encode_b58b / decode_b58b
Basic base58 encoding / decoding. Encoding takes one argument which is byte string. Decoding takes base58-encoded string
These two functions are just aliases to encode_b58b and decode_b58b from Crypt::Misc with some error checking.
Base58 with checksum validation. These functions are used with Bitcoin legacy / compatibility addresses.
Arguments are the same as base functions mentioned above. Additional errors (other than illegal characters) are thrown.
Base58InputFormat - input was not suitable for base58 operations due to invalid format
Base58InputChecksum - checksum validation has failed