jellyfish icon indicating copy to clipboard operation
jellyfish copied to clipboard

implement hash to group function

Open zhenfeizhang opened this issue 3 years ago • 1 comments

We have not encountered a case where hash to group is necessary. So this is a low priority for now.

We may consider implement

zhenfeizhang avatar Jan 28 '22 14:01 zhenfeizhang

now arkworks already have HashToCurve implementation, correct? should we close this? @zhenfeizhang

alxiong avatar Jul 28 '22 07:07 alxiong

Should be closed as soon as arkworks v0.4 migration: https://github.com/EspressoSystems/jellyfish/issues/45 is completed.

tessico avatar Dec 07 '22 15:12 tessico

Shall we close this ticket and create a new one for constant time hash to bn254 curve? cc @alxiong @chancharles92

mrain avatar Jul 31 '23 15:07 mrain

@alxiong mentioned that arkworks v0.4 already has a hashtogroup implementation. Is it a naive one or something we can reuse?

chancharles92 avatar Jul 31 '23 16:07 chancharles92

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)

alxiong avatar Aug 02 '23 13:08 alxiong