Skip to content

Conversation

ProkopRandacek
Copy link
Contributor

The base58 implementation seems to be wrong (doesn't agree with online tools) and very over complicated.

The new implementation agrees with two online tools I tried but I'm worried about endianness on other architectures.

I dropped the padding with '1's because the code is always working with 32 byte strings to the number of leading zeroes doesn't need to be stored at all.

The base58 implementation seems to be wrong and very over complicated

Signed-off-by: Prokop Randáček <[email protected]>
@Anton-4
Copy link
Collaborator

Anton-4 commented Sep 10, 2025

Can you take a quick look at this @rtfeldman since you wrote the original code? I can do a thorough review after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants