Commit Graph

9 Commits

Author SHA1 Message Date
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
89792330c7 Add initial migration from BigInt to ff::Fr 2020-07-19 12:08:27 +02:00
2b0e2faa3e gen_constants crate appart 2020-07-19 12:00:52 +02:00
4cba42e76a Update hash method, add tests 2020-03-06 21:02:03 +01:00
988f5036ce update Cargo.toml for crate 2019-09-07 18:53:04 +02:00
9ab4654572 hash arbitrary array size (chunks of 5), add hash_bytes 2019-09-01 16:03:57 +02:00
6537a8d55e add travis 2019-09-01 14:38:56 +02:00
57377e14e5 add poseidon 2019-09-01 14:35:34 +02:00
arnau
c9687402fa Initial commit 2019-09-01 14:34:53 +02:00