bplib icon indicating copy to clipboard operation
bplib copied to clipboard

Why not exists method BpGroup.hashG2()?

Open alexkazancew opened this issue 5 years ago • 1 comments

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!

alexkazancew avatar Mar 11 '19 11:03 alexkazancew

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.

gdanezis avatar May 27 '19 16:05 gdanezis