Commit Graph

58 Commits

Author SHA1 Message Date
jude
1bd15f36e7 ... 2023-04-16 21:28:29 +01:00
jude
ad26788927 readme, benchmarks, fix verification 2023-04-15 14:28:13 +01:00
jude
35dbf321e9 prove and verify rounds 2023-04-14 16:04:24 +01:00
jude
0f8ad2a0a8 ... 2023-04-14 10:55:20 +01:00
jude
d3e309c1e3 .... 2023-04-13 16:33:32 +01:00
jude
b7150d6547 Fixed stuff 2023-04-13 13:32:29 +01:00
1d9ab1d601 jacobi based paillier 2023-04-11 15:39:49 +01:00
2700cb2792 add crypto shuffle 2023-04-10 22:23:06 +01:00
1647615595 ,.... 2023-04-10 19:05:10 +01:00
0991c6bff9 Fix a lot of stuff 2023-04-10 11:19:11 +01:00
848c56ff84 Ensure ciphertexts are cloned to avoid mutating actual object. 2023-04-09 18:36:58 +01:00
5557a8bff6 .... 2023-04-07 18:59:33 +01:00
eccf482192 ... 2023-04-06 20:42:24 +01:00
f645c234ce Add event to just update strength numbers 2023-04-06 12:18:21 +01:00
9d1d64f1d9 Fix bug where ciphertexts could end up negative 2023-04-06 12:15:19 +01:00
jude
931b669529 Some verification working 2023-03-24 16:53:02 +00:00
jude
07b1080b3d Fix some stuff and sort of implement proving 2023-03-24 12:41:54 +00:00
jude
6de13d3b70 Ensure bit length of randomly generated numbers are fine 2023-03-19 15:31:29 +00:00
jude
6b001d9f2c code for proof system 2023-03-18 15:41:37 +00:00
jude
2d72cdd87b paillier integration sort of 2023-03-17 10:42:11 +00:00
jude
a6961e1900 ... 2023-03-13 14:52:14 +00:00
jude
4a55f5c11f Prevent replay 2023-03-07 15:43:47 +00:00
jude
c0f2c4bbef Fixed most other stuff that I broke 2023-03-05 17:19:37 +00:00
jude
96fe20503a Sign packets 2023-03-04 14:19:26 +00:00
jude
ab629a78b4 correct modular inverse 2023-03-04 10:50:49 +00:00
jude
ed171bf77f RSA keygen. some other stuff 2023-03-04 00:25:54 +00:00
jude
cf0c9135e1 Mid refactor to stop polluting the namespace so much 2023-03-03 17:34:15 +00:00
jude
9e184e8aa6 Replace FME with addition chaining from Bruce Schneier 2023-02-27 20:08:50 +00:00
jude
62204634e1 show defending region 2023-02-18 16:48:31 +00:00
jude
507a087198 Defending sort of works 2023-02-18 15:12:06 +00:00
jude
0b4379326e Attacking sort of works 2023-02-17 13:48:07 +00:00
jude
8b5f7df592 Fortifying works 2023-02-17 12:46:21 +00:00
jude
bcbd407d7d Change buttons a bit. End turn option 2023-02-16 09:38:03 +00:00
jude
b3fd23bba2 show action list and remaining placements on a turn 2023-02-15 18:00:25 +00:00
9ffd43e944 Fleshed out stub. Added fortify and stub for attack. 2023-02-13 15:52:17 +00:00
d99b5b3373 Stub for act method to perform generic actions during a turn 2023-02-13 15:32:54 +00:00
8cf3e3c41a Store primes in sessionStorage to make reloading the page quicker. 2023-02-13 14:55:25 +00:00
c4f6c24469 Fix bug in random generator. Correct a proof 2023-02-13 14:36:58 +00:00
jude
bffc7a3a66 Correct Paillier code. Dissertation 2023-02-12 22:45:51 +00:00
jude
d397cf352a needs to be taken mod n for some reason. 2023-02-12 16:51:28 +00:00
jude
9f6584ba1a Some paillier bits 2023-02-11 14:59:24 +00:00
jude
235c0a0e42 Add some stuff 2023-02-10 15:47:21 +00:00
jude
6db33c112e Colors and claiming regions 2023-02-08 17:55:45 +00:00
d6d31566b9 move prime generation out 2023-02-08 15:52:02 +00:00
jude
3f0dbc06f7 Generate very large primes 2023-02-06 18:26:14 +00:00
38b720d1b7 Some claiming logic 2023-02-06 13:03:25 +00:00
79c4ce20d1 Added a far more basic map 2023-02-06 12:30:24 +00:00
3062653d95 Add regions. Retrieve next player. 2023-02-06 11:04:37 +00:00
8d1a7e14e3 Add barrier type. Transition into playing phase properly. 2023-02-02 11:27:52 +00:00
jude
8afe512062 Fix up selecting first player and some errors in the number generation. 2023-02-01 18:09:32 +00:00