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

WARNING!!! Incorrect Compressed Public Key and Compressed Bitcoin Address #180

Open
k0tkin opened this issue Aug 20, 2017 · 0 comments
Open

Comments

@k0tkin
Copy link

k0tkin commented Aug 20, 2017

compressed public key stored in 264 bits (66 hex digits)

For number 99 (private_key = bitcoin.sha256(b'99')) I receive this:

0383dfa2168a7b668641ed42ac5fcc4059a7206bb3f44043d46917a25b649a16
instead of:
030083dfa2168a7b668641ed42ac5fcc4059a7206bb3f44043d46917a25b649a16

that two zero at the beginning is missing

And for number 77:
pybitcointools result:
Compressed Public Key (hex) is: 0245dc1aea709e25d262e1afd00704fa53c9fef46946d3906ebeee75b318786a6

Right answer: 02045dc1aea709e25d262e1afd00704fa53c9fef46946d3906ebeee75b318786a6

another zero at the beginning is missing

@k0tkin k0tkin changed the title Incorrect Compressed Public Key WARNING!!! Incorrect Compressed Public Key and Compressed Bitcoin Address Aug 20, 2017
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

No branches or pull requests

1 participant