cloudflare / bn256

Package bn256 implements a particular bilinear group.
https://godoc.org/github.com/cloudflare/bn256
BSD 3-Clause "New" or "Revised" License
124 stars 42 forks source link

Hashing to G2 #17

Open rsinha opened 4 years ago

rsinha commented 4 years ago

Thank you for your work on this library.

I was wondering if there are any plans to implement hashing to curve G2. Right now, I see the implementation for hashing to curve G1.

armfazh commented 4 years ago

There is WIP for defining methods for hash to curve at https://datatracker.ietf.org/doc/draft-irtf-cfrg-hash-to-curve.

Once the draft gets more stable, we can update library with methods for hashing into G1 and into G2.

armfazh commented 3 years ago