I am using the conversion algorithm of http://lenschulwitz.com/base58 , this perl code.
MANY GOOD CONVERSIONS, AS:
18e559fc6cb0e8de2ce8b50007d474a0d886208e698a07948671e0df520c1525
was converted to2gBdDRXoLPEhgf9Zd7zw5ujK1qcoPZoendBQJ22VjgqS
, all 44 digits.BAD CONVERSION:
0ab3de5e16675aeb0c4831f5218901fec56f39cc8ad16e5559be4a0ee211f5d0
was converted toin9v3fi1cntD6ERD6QryMJq4r5BncjYZ32xZA6Uj4ST
, 43 digits!other BAD:
00000000000000000000000000000000000000000000000000000000000000d0
to11111111111111111111111111111114b
What is wrong with the Perl code? I can use some kind of padding in base58-btc?
PS: I can use something as sudo apt-get install libbase58-0
that is reliable at UBUNTU... But need a Perl interface for it.