Bug report: Base58 wrong conversion
wackazong opened this issue · comments
Describe the bug
The base58 implementation is producing incorrect results.
To Reproduce
- Go to '...'
- The result must be 16 times "1", not 17 times
- Compare with the invert operation which is also wrong: https://gchq.github.io/CyberChef/#recipe=From_Base58('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz',true)To_Decimal('Space',false)&input=MTExMTExMTExMTExMTExMQ
- This gives me back 18 bytes, not 16 bytes.
Expected behaviour
Correct base58 string generation