2025-01-21 15:10:16 +01:00
2025-01-21 14:55:59 +01:00
2025-01-21 14:55:59 +01:00
2025-01-17 20:53:33 +01:00
2025-01-17 20:53:33 +01:00
2025-01-21 15:10:16 +01:00

rust-poseidon2-bn254

Rust implementation of the Poseidon2 hash function over the BN254 curve's scalar field, with permutation state width t=3.

We plan to integrate this into Plonky2, to allow an efficient BN254 recursive wrapper. For this we need some custom features: For example when computing the Fiat-Shamir challenges, we need a duplex construction which can absorb and squeeze both BN254 and Goldilocks field elements.

Currently using arkworks for field arithmetic (maybe replace it with something more light-weight in the future...)

Description
Rust implementation of arithmetic hash functions (Poseidon2, Griffin) over the BN254 scalar field
Readme
Languages
Rust 57.5%
Haskell 42.5%