You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
gnark has field hasher and binary hasher interfaces separated.
Describe the solution you'd like
Similarly to gnark, also define FieldHasher interface and implement it for the hash functions for which it is natural (mimc, poseidon etc.). Then it's easier to have interoperability with gnark and we can avoid the edge cases related to having a binary-hasher (need to decompose the input bytes into field elements)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
gnark has field hasher and binary hasher interfaces separated.
Describe the solution you'd like
Similarly to gnark, also define FieldHasher interface and implement it for the hash functions for which it is natural (mimc, poseidon etc.). Then it's easier to have interoperability with gnark and we can avoid the edge cases related to having a binary-hasher (need to decompose the input bytes into field elements)
The text was updated successfully, but these errors were encountered: