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

Why use a point as generator instead of a number in feldman VSS? #248

Open
misaqsaadat opened this issue Jun 13, 2023 · 2 comments
Open

Comments

@misaqsaadat
Copy link

Hello. I recently start reading GG18 and work with your code.
In feldman VSS definition it says that we need a "p" and "q" such that p | q - 1 and "p" and "q" are both primes. Then we need a generator of "q" modulus "p" and we should use it for verification.

But in your code, you use an specific point on curve as generator, and calculations are point-oriented. although it works fine, but my question is why you do that? Is it more secure? what is wrong with using numbers instead of curve points?
these are numbers I am using in my feldman VSS code (for sepc256k1):

q = 115792089237316195423570985008687907852837564279074904382605163141518161494337 (order of curve)
p = 36590300198991917753848431262745378881496670312187669784903231552719739032210493 (order * 316 + 1, also a prime)
generator : 20868538786266380811265443865024178980565046899815459596964866231618051563050200

@0xLyon
Copy link

0xLyon commented Jun 13, 2023

Hi there, let me check on this internally and update when I have more details.

@misaqsaadat
Copy link
Author

Thanks for your help.
any news?

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