25 Commits

Author SHA1 Message Date
Micah Zoltu
2c964b3fe6 Removes most dependencies and switches to @noble/hashes.
* @noble/hashes is a widely used and audited cryptography library that is pure JavaScript with no transitive dependencies and no dependencies on NodeJS.
* NodeJS now comes with built-in support for testing, so mocha and chai are no longer required, removing most dependencies from this project.

Between these two changes, almost all dependencies were removed and now there are only 2, including transitive.
2024-11-28 18:34:47 +08:00
Jordi Baylina
85c08cfe7a small fixes 2019-08-02 00:09:30 +02:00
Jordi Baylina
406ec9fd62 log functions 2019-06-16 00:12:50 +02:00
Jordi Baylina
ceb9a7f58e sqrt added in ZqField 2018-11-11 19:48:02 +01:00
Jordi Baylina
448dc345ad Groth protocol imlemented 2018-11-10 14:43:37 +01:00
Jordi Baylina
76f4da3d0b License fix and remove gig test 2018-10-21 19:41:44 +02:00
Jordi Baylina
54a4be447f Rename to snarkjs, cli and some fixes 2018-10-21 18:24:49 +02:00
Jordi Baylina
36c1e2098f Add ra, rb, d1, d2, d3 coefficients 2018-09-24 12:32:33 +02:00
Jordi Baylina
16ff407765 Important optimization for the trusted setup 2018-09-23 09:20:01 +02:00
bellesmarta
95a09e5d8a Changes README, copyright and typos 2018-09-10 11:53:09 +02:00
Jordi Baylina
035ea22122 uppercase conflict 2018-09-09 14:07:28 +02:00
Jordi Baylina
5177e17037 Spelling fixed 2018-09-09 14:04:22 +02:00
Jordi Baylina
7a9bdf5961 Add extra point in lagrange to avoid constant polinomials 2018-09-06 04:43:38 +02:00
Jordi Baylina
ef1ea14f1e Fix Variables and test example 2018-09-06 04:40:26 +02:00
Jordi Baylina
2834d5cfc6 circuit in test 2018-09-05 20:40:59 +02:00
Jordi Baylina
544161c399 Prepare license 2018-09-05 04:56:49 +02:00
Jordi Baylina
2cf2803019 Use ruffini for calculatig lagrange polinomials 2018-09-04 07:13:24 +02:00
Jordi Baylina
2910b7cf7d zkSnarks working 2018-08-25 00:16:12 +02:00
Jordi Baylina
0270ceada6 Polynomial division done 2018-08-18 14:11:51 +02:00
Jordi Baylina
8bc1bb610b Fix pairing calc 2018-08-15 15:13:21 +02:00
Jordi Baylina
a7ac0b5d18 Refactor 2018-08-15 11:05:17 +02:00
Jordi Baylina
f7ac040b3b Use BigInt if available 2018-08-15 09:59:18 +02:00
Jordi Baylina
a878d8ff59 Pairing working 2018-08-14 09:06:00 +02:00
Jordi Baylina
143654c8d6 g1 and g2 tests works 2018-08-12 22:11:42 +02:00
Jordi Baylina
89173c3e63 refactor curve and add tests 2018-08-12 20:37:43 +02:00