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

How to generate two different generators in G2 #1

Open
bo-hub opened this issue Aug 2, 2024 · 0 comments
Open

How to generate two different generators in G2 #1

bo-hub opened this issue Aug 2, 2024 · 0 comments

Comments

@bo-hub
Copy link

bo-hub commented Aug 2, 2024

Hi, there is a problem when we want to generator two different generators in G2.

from petrelic.multiplicative.pairing import G1, G2, GT
g1 = G2.generator()
g2 = G2.generator()
print(g2 == g1)

The generator() method will always generate the same generators.

How to generator two different generators?

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