This repository contains the Rust implementation of Poseidon2 and several other arithmetization-oriented primitives over various finite fields.
The following hash functions are implemented:
A bug was fixed which occurred in the computation of the external matrix multiplication when t=4
. Further, the previous instance generation script was using SBOX=1
. This was changed to SBOX=0
in order to match the instances of the original Poseidon. This has no impact on the security, and the previous instances can still be used. We thank @rkm0959 for reporting these issues.