21 Commits

Author SHA1 Message Date
6d2487aa13 Merge pull request #2 from kazuakiishiguro/main
fix module name
2023-11-15 15:32:22 +01:00
Kazuaki Ishiguro
db99a9e787 fix module name 2023-11-15 18:16:09 +09:00
ff7f5e05d5 Migrate license to Apache-2.0 as in 233027d607 2023-08-15 09:13:54 +02:00
bf96de3b94 Extend to 16 inputs
following a86654785d
2023-05-11 19:40:15 +02:00
568f34442e port https://github.com/arnaucube/poseidon-rs to arkworks ff 2023-05-05 11:27:50 +02:00
d9dd5e7151 Update Poseidon last changes of the reference impl
Update Poseidon to last changes of the reference implementation from
26ddaa91db

Compatible with update at circomlib
(cf853c1cc9)
2021-03-08 20:48:21 +01:00
4c5dadf3f7 Use imported Fr
v0.0.7
2020-12-26 20:31:44 +01:00
0cc71d546c Update Poseidon to new circomlib version & https://extgit.iaik.tugraz.at/krypto/hadeshash
On a Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz, with 32 GB of RAM:

- old:
hash  time:   [85.766 us 85.797 us 85.830 us]

- new:
hash  time:   [29.319 us 29.327 us 29.336 us]
2020-08-23 19:39:19 +02:00
arnau
e162a19c87 Merge pull request #2 from arnaucube/feature/gha
Add GHA
2020-07-22 20:10:14 +02:00
arnau
290e40a9d4 Add GHA 2020-07-22 20:07:38 +02:00
arnau
e8d6a3aeae Merge pull request #1 from arnaucube/feature/ff
Feature/ff
2020-07-22 20:00:23 +02:00
725d6397b8 Update methods to more efficient usage of ff
On a Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, with 16GB of RAM:
- Old (using num-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]

On a Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz, with 32 GB of RAM:
- Old (using num-bigint):
hash  time:   [4.1192 ms 4.1318 ms 4.1461 ms]
- In the previous commit (using ff):
hash  time:   [91.394 us 91.430 us 91.476 us]
- In this commit (using ff):
hash  time:   [85.517 us 85.545 us 85.574 us]
2020-07-22 19:53:00 +02:00
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