The draft-msporny-base58-01 document provides algorithms for encoding and decoding base58. I have tried implementing the encoding algorithm, but I\'m not getting the expecte