BitcoinECDSA.php icon indicating copy to clipboard operation
BitcoinECDSA.php copied to clipboard

Question regarding your code

Open tzak902 opened this issue 5 years ago • 1 comments

Hi,

Please check the following code from BitcoinECDSA.php line 101

$table = [ '1','2','3','4','5','6','7','8','9','A','B','C','D', 'E','F','G','H','J','K','L','M','N','P','Q','R','S','T','U','V','W', 'X','Y','Z','a','b','c','d','e','f','g','h','i','j','k','m','n','o', 'p','q','r','s','t','u','v','w','x','y','z' ];

Why the capital "i" and capital "o" also number zero are missing?

tzak902 avatar Sep 20 '20 21:09 tzak902

See this page: https://en.bitcoin.it/wiki/Base58Check_encoding Supposedly this was done in order to avoid confusing a zero with an O and an O with an o

rgex avatar Sep 21 '20 09:09 rgex