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

Question : How to create "p" and "q" for pailier key pair to satisfy GG18 consideration? #208

Open
misaqsaadat opened this issue May 8, 2023 · 0 comments

Comments

@misaqsaadat
Copy link

Hello. this is not an issue. just a question I have. in GG18 (page 9) says that N must be greater than q (order of curve ) ^ 8.
q is almost equal to 2 ^ 256. and q ^8 is very close to 2 ^ 2048.
If I choose 1024 random prime numbers for "p" and "q" in paillier key pair, N ( = p * q) will be 2048 bits. and almost never can not satisfy GG18 consideration ( N must be greater than q ^ 8)
What was your solution for this? I am not very familiar with rust and I couldn't find your solution in code.

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