Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add base58 check #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add base58 check #2

wants to merge 2 commits into from

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