Talk:Base58Check encoding

From Rosetta Code
Revision as of 10:24, 17 November 2017 by rosettacode>Gerard Schildberger (added a talk (discussion) section.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

prepend leading zeros when the hash digest number has leading ones

Am I reading the   reference algorithm   (the Base58Check encoding at the bitcoin wiki webpage) correctly in regarding to leading ones (1's) in the (decimal version) hash digest?

In particular, if there are (say) three leading ones in the hash digest, the output string should have three leading zeros.

All of the programming entries so far (except for the REXX version 3 entry) do not address this part of the   reference algorithm   (as shown in the pseudo-code)   at   the Bitcoin's Base58Check page.   -- Gerard Schildberger (talk) 10:23, 17 November 2017 (UTC)