iden3 / go-iden3-crypto

Go implementation of some cryptographic primitives (that fit inside the SNARK field) and compatible with circomlib
Apache License 2.0
117 stars 38 forks source link

Fix Poseidon Hash check for inputs being in Finite Field #42

Closed OBrezhniev closed 2 years ago

OBrezhniev commented 2 years ago

Check was probably unintentionally deleted during Poseidon optimization. Fixed it. Added unit test.