Skip to content

0xmozak/poseidon2

 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 97.2%
  • Sage 2.8%