arnaucube 32cf0558fa Add benchmarks (49x improvement with ff)
Tested on a Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, with 16GB of RAM.

- Old (using nnum-bigint):
hash           time:   [5.9258 ms 5.9407 ms 5.9587 ms]

- New (using ff):
hash           time:   [120.12 us 121.08 us 122.30 us]
2020-07-19 12:12:39 +02:00
2020-07-19 12:00:52 +02:00
2019-09-01 14:35:34 +02:00
2019-09-01 14:38:56 +02:00
2019-09-01 14:34:53 +02:00

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]
Description
No description provided
Readme Apache-2.0 623 KiB
Languages
Rust 100%