bplib
bplib copied to clipboard
Why not exists method BpGroup.hashG2()?
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!
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.