Closed zhenfeizhang closed 1 year ago
now arkworks already have HashToCurve implementation, correct? should we close this? @zhenfeizhang
Should be closed as soon as arkworks v0.4 migration: https://github.com/EspressoSystems/jellyfish/issues/45 is completed.
Shall we close this ticket and create a new one for constant time hash to bn254 curve? cc @alxiong @chancharles92
@alxiong mentioned that arkworks v0.4 already has a hashtogroup implementation. Is it a naive one or something we can reuse?
Yes, arkwork defined the trait HashToCurve
here, and implement it here with flexibility for different hashing and mapping (from field to group) strategies.
I think we can close it for now.
(ofc, if we want constant time in a separate issue/PR, consider building on top of subtle
or subtle-ng
)
We have not encountered a case where hash to group is necessary. So this is a low priority for now.
We may consider implement