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

Probably not a proof-of-work #2

Closed
mikedilger opened this issue Nov 12, 2022 · 1 comment
Closed

Probably not a proof-of-work #2

mikedilger opened this issue Nov 12, 2022 · 1 comment

Comments

@mikedilger
Copy link
Contributor

NIP-13 is about id fields (SHA256 hashes) that start with zero bits, not about public keys that start with zero bits.

Although this project generates public keys randomly, there is no proof that anyone presenting a public key that starts with zeroes did so randomly. A public key on the elliptic curve could probably be constructed with lots of leading zeroes if you understood the cryptography well enough (I don't).

So I think this idea doesn't quite work.

Nonetheless I put in a pull request to speed it up.

@grunch
Copy link
Owner

grunch commented Nov 14, 2022

Interesting, I'm not a cryptographer so I don't know if is possible to construct a public key on the elliptic curve with a lots of leading zeroes but I will research about it, thanks for your contribution 😃

@grunch grunch closed this as completed Nov 24, 2022
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

2 participants