Commit Graph

146 Commits

Author SHA1 Message Date
Jordi Baylina
ddb81cc786
Merge branch 'master' of github.com:iden3/snarkjs 2020-07-29 09:09:06 +02:00
Jordi Baylina
c2f8b58c3b
deps and fix version display 2020-07-29 09:08:09 +02:00
Jordi Baylina
d9e3b38b4a
Merge pull request #52 from weijiekoh/patch-1
Fix a small typo
2020-07-28 13:21:39 +02:00
张卓
2fc39d124d fix writing binfile 2020-07-28 19:02:24 +08:00
Jordi Baylina
b2ca8e054e
ver 2020-07-26 19:50:50 +02:00
Jordi Baylina
f022621696
fix sectionIsEqual 2020-07-26 14:05:23 +02:00
Koh Wei Jie
0357b17795
Fix a small typo 2020-07-16 12:08:59 +08:00
Jordi Baylina
1c62e39ef5
upercase fix 2020-07-15 06:29:27 +02:00
Jordi Baylina
907e12da3a
Verbose hash calculation in challenge contribute 2020-07-15 06:24:35 +02:00
Jordi Baylina
12ec77e9c3
Fixes in Readme and challenge word fix 2020-07-14 11:55:12 +02:00
Jordi Baylina
4fcc0a3398
tutorial and many fixes 2020-07-13 07:21:03 +02:00
Jordi Baylina
eda9a81221
clean tmp files 2020-07-11 10:48:10 +02:00
Jordi Baylina
c9b3808282
fix dep path 2020-07-11 10:36:57 +02:00
Jordi Baylina
9b418568f6
api and tutorial start 2020-07-11 10:31:52 +02:00
Jordi Baylina
1d3ad357c1
bls12-381 all working 2020-06-30 21:39:25 +02:00
Jordi Baylina
6b08298526
bls12-381 working 2020-06-30 15:45:21 +02:00
Jordi Baylina
8bc56a54a6
deps and number of cpus in node 2020-06-21 20:36:46 +02:00
Jordi Baylina
8ad92e684e
fix beacon verification hex convertion 2020-06-18 22:10:31 +02:00
Jordi Baylina
b45eb248e2
beacon phase2, verification and challange contribution 2020-06-18 19:14:06 +02:00
Jordi Baylina
0e32995f26
Fix Dataview Offsets 2020-06-16 17:04:49 +02:00
Jordi Baylina
3ba1341404
Contribution phase2 2020-06-16 16:45:32 +02:00
Jordi Baylina
2e9ce5efe6
fix upercase in fastFile 2 2020-06-14 19:54:43 +02:00
Jordi Baylina
ca52c546fe
fix upercase in fastFile 2020-06-14 19:53:29 +02:00
Jordi Baylina
a4da81f0a7
phase2 verification done 2020-06-14 17:37:22 +02:00
Jordi Baylina
7965dc5d6b
phase2 optimized 2020-06-08 23:05:22 +02:00
Jordi Baylina
bfd7489cc3
fast proof 2020-06-08 11:03:36 +02:00
Jordi Baylina
8742ec0a38
preparephase2 with all intermediate values 2020-06-02 23:13:20 +02:00
Jordi Baylina
4020d0b5b9
fix verify second 2020-05-31 22:00:47 +02:00
Jordi Baylina
49a210fdff
Fix verify partial hash 2020-05-31 10:14:03 +02:00
Jordi Baylina
b948a0d0d1
First try phase2 2020-05-31 00:46:49 +02:00
Jordi Baylina
2d07b2c806
Verify optimized 2020-05-28 17:35:14 +02:00
Jordi Baylina
e2319bc8f5
Some fixes 2020-05-27 21:02:25 +02:00
Jordi Baylina
d5ce479939
Fix export in big files 2020-05-26 21:19:35 +02:00
Jordi Baylina
f587735530
more advances in powers of taw cermony 2020-05-26 18:45:49 +02:00
Jordi Baylina
4c7a37c274
contribution generated in wasm 2020-05-15 21:30:37 +02:00
Jordi Baylina
9f72725b3d
powers of tau validated 2020-05-11 20:23:04 +02:00
Jordi Baylina
8ecb2cfdf3
split poweroftau in different sources 2020-05-10 10:10:42 +02:00
Jordi Baylina
6598f9df4a
powersof taw new export and contribute 2020-05-09 15:05:45 +02:00
Jordi Baylina
7b099d2843
Use native big int 2020-04-18 20:21:16 +02:00
Jordi Baylina
235bd14de9
verbose in setup added 2020-04-06 21:38:08 +02:00
Jordi Baylina
eb0a87e548
New method to calculate polinomial H in groth 2020-04-05 20:09:21 +02:00
Jordi Baylina
ee0addb07d
fields and bn128 moved to ffjavascript 2020-03-28 21:28:43 +01:00
Jordi Baylina
58f9034286
tests works in node 10 2020-03-28 19:40:30 +01:00
Jordi Baylina
3c5919c771
Fix printconstraints 2020-03-27 09:54:52 +01:00
Jordi Baylina
5adee591bf
Adapted to circom 0.5 2020-03-26 20:16:29 +01:00
krlosMata
762fbe19a4 add setup for .r1cs files 2020-02-28 09:46:07 +01:00
Youssef El Housni
addf4105ae fix setup in kimleeoh 2020-02-05 11:43:33 -05:00
Jordi Baylina
2fa9503ad6
better info in runtime constraint assertion 2019-09-15 10:49:19 +02:00
Jordi Baylina
3cbc29caf1
pow and abs in the bigInt wrapper 2019-09-05 17:11:31 +02:00
Alexey
30ad8a5db2 bigInt instanceof fix 2019-08-08 22:16:05 +03:00
Jordi Baylina
85c08cfe7a
small fixes 2019-08-02 00:09:30 +02:00
Jordi Baylina
f8ba7cbfa7
Fix brackets in the in field check 2019-07-26 14:19:26 +02:00
Jordi Baylina
406ec9fd62
log functions 2019-06-16 00:12:50 +02:00
Jordi Baylina
ff5b1760c2
Small fixes and optimizations 2019-04-09 14:55:59 +02:00
Jordi Baylina
eeba050585
Merge pull request #14 from stanislasdrg/master
Removed useless commas
2019-02-14 23:59:59 +01:00
Jordi
9360dd121f Ensure JS compatibility on browser environments 2019-02-14 23:18:53 +01:00
stanislasdrg@gmail.com
d5d2aa8599 Removed useless commas 2019-02-07 22:04:47 +00:00
Jordi Baylina
71c66408f5
Fix CVE-2019-7167 2019-02-05 20:28:51 +01:00
Jordi Baylina
76f6e70633
remove log 2018-12-23 00:00:08 +01:00
Jordi Baylina
8a594dc942
Small changes 2018-12-22 23:51:10 +01:00
Jordi Baylina
8a97534ff5
Small fixes 2018-11-28 10:25:24 +01: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
bd48938152
Merge branch 'master' of github.com:iden3/snarkjs 2018-11-09 10:20:24 +01:00
Jordi Baylina
79743dd7c7
Small Fix: Print name of identifier 2018-11-09 10:20:06 +01:00
arnaucube
0e9f632c46 small fix bn128.js/_preparePairing/loopCount.neg() 2018-11-01 20:23:57 +01:00
Jordi Baylina
f122fa202f
Fix 0x parser in old versions of node 2018-10-25 09:42:49 +02:00
Jordi Baylina
5c514a897b
info and print constraints added 2018-10-22 08:34:49 +02: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
Jordi Baylina
3343981187
Extend eq and neq in bigint 2018-09-14 07:08:56 +02:00
bellesmarta
95a09e5d8a Changes README, copyright and typos 2018-09-10 11:53:09 +02:00
Jordi Baylina
6068572655
Optimize Lagrange calculation and recalculate H powers length 2018-09-09 22:17:30 +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
62a1dcfde1
Superoptimized 2018-08-15 14:49:08 +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
5c64be0755
mul_by_024 optimized 2018-08-14 22:58:21 +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
Jordi Baylina
91fbc8ea2d
g1 curve done 2018-08-10 23:57:35 +02:00
Jordi Baylina
6a02f83d41
Force 1 in the verifier 2018-08-09 18:59:39 +02:00
Jordi Baylina
c0312e5d83
snarks part done 2018-08-09 15:31:16 +02:00
Jordi Baylina
3f2f303b94
Skeleton 2018-08-09 08:16:34 +02:00