You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arnaucube 32cf0558fa Add benchmarks (49x improvement with ff) 4 years ago
benches Add benchmarks (49x improvement with ff) 4 years ago
gen_constants gen_constants crate appart 4 years ago
src Add initial migration from BigInt to ff::Fr 4 years ago
.gitignore add poseidon 5 years ago
.travis.yml add travis 5 years ago
Cargo.toml Add benchmarks (49x improvement with ff) 4 years ago
LICENSE Initial commit 5 years ago
README.md Add benchmarks (49x improvement with ff) 4 years ago

README.md

poseidon-rs Crates.io Build Status

Poseidon hash implementation in Rust, a zkSNARK friendly hash function.

https://eprint.iacr.org/2019/458.pdf

Compatible with the Poseidon Go implementation done in https://github.com/iden3/go-iden3-crypto and in https://github.com/iden3/circomlib

Warning

Do not use in production

Benchmarks

hash           time:   [120.12 us 121.08 us 122.30 us]