Skip to content

Conversation

lovesh
Copy link

@lovesh lovesh commented May 12, 2018

The checksum is calculated as data_to_encode||sha256(sha256(data_to_encode))[:4]
|| denotes concatenation and [:4] denotes taking first 4 bytes. Matches implementation of python base58 library

Signed-off-by: Lovesh Harchandani [email protected]

lovesh added 2 commits May 12, 2018 16:52
Signed-off-by: Lovesh Harchandani <[email protected]>
Signed-off-by: lovesh harchandani <[email protected]>
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.

1 participant