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

Key generation random integer g #112

Open
a22511234 opened this issue Jul 14, 2023 · 1 comment
Open

Key generation random integer g #112

a22511234 opened this issue Jul 14, 2023 · 1 comment

Comments

@a22511234
Copy link

Hello! I have a question about the random number g
In Paillier's paper and Wikipedia, select a random integer g in the part of key generation, this g is an integer and between n squares
Why is your algorithm g always n + 1 instead of taking an integer at random?

@hardbyte
Copy link
Collaborator

hardbyte commented Jul 19, 2023

Please see issue #2

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