/poseidon2

Primary LanguageRustApache License 2.0Apache-2.0

Poseidon2 Hash Function

This repository contains the Rust implementation of Poseidon2 and several other arithmetization-oriented primitives over various finite fields.

Hash Functions

The following hash functions are implemented:

Update from 23/06/2023

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.