Commit Graph

8 Commits

Author SHA1 Message Date
arnaucube
dcd31c27c6 Migrate from BigInt to ff::Fr, remove generic methods
Migrate from BigInt to ff::Fr, remove generic methods

On a Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz, with 32 GB of RAM:

- Old:
hash    time:   [927.61 us 927.78 us 927.98 us]

- New:
hash    time:   [26.495 us 26.503 us 26.512 us]
2020-09-29 20:02:01 +02:00
arnaucube
cf52a51655 gen_constants crate appart 2020-09-29 19:49:15 +02:00
arnaucube
539a1beb72 Add benchmark
On a Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz, with 32 GB of RAM:
hash	time:   [927.61 us 927.78 us 927.98 us]
2020-09-28 21:44:44 +02:00
arnaucube
3028cd7975 add padding in constants generation 2019-10-11 14:46:37 +09:00
arnaucube
be153c7ac2 add hash_bytes(), add error handling, add check input bigint inside finite field 2019-09-01 15:53:54 +02:00
arnaucube
e46aa827e7 crate pub & add travis 2019-08-04 09:31:18 +02:00
arnaucube
8e81dc980e add mimc7 2019-08-03 20:44:34 +02:00
arnau
00ceb2eccc Initial commit 2019-08-03 20:39:27 +02:00