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 not exists method BpGroup.hashG2()? #9

Open
alexkazancew opened this issue Mar 11, 2019 · 1 comment
Open

Why not exists method BpGroup.hashG2()? #9

alexkazancew opened this issue Mar 11, 2019 · 1 comment

Comments

@alexkazancew
Copy link

Hello. I`am sorry for my probably stupid question.
Why method BpGroup.hashG1 is exist for hashing message but method BpGroup.hashG2 not exist?
What is reason for it?
Thanks!

@gdanezis
Copy link
Owner

Because hashing to G1 is easy to implement, whereas I am not certain how to do this securely for G2 (or even if that is possible?). You are most welcome to contribute a patch, with a clear reference on why the implemented technique is secure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants