Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 448 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 448 Bytes

Plonky2 Circuit for BN254 Poseidon

This repository contains an implementation of the Poseidon hash function for scalar fields of the BN254 elliptic curve group. BN254 (also known as alt-BN128) is currently the only curve with precompiled contracts on Ethereum for elliptic curve operations.

How to Use

cargo run -r --bin permute

This implementation is created with reference to https://github.com/hrmk1o3/plonky2-bn254-poseidon.