You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,16 @@ npm install
21
21
│ ├─ comm/ Communications modules (such as for OT)
22
22
│ ├─ modules/ Data structure modules (such as circuits)
23
23
│ └─ utils/ Other utility modules (such as cryptographic primitives)
24
-
└─ test/ End-to-end tests
24
+
├─ test/ End-to-end tests
25
+
└─ tutorial/ Interactive tutorial on using JIGG
25
26
27
+
## Running The tutorial
28
+
29
+
You can run the tutorial interactively on your local machine, after cloning JIGG, by using
30
+
```shell
31
+
cd path/to/JIGG
32
+
npm run tutorial
33
+
```
26
34
27
35
## Running Demo Circuit Applications
28
36
@@ -77,7 +85,7 @@ JIGG can parse a circuit in the standardized '[Bristol](https://homes.esat.kuleu
77
85
```
78
86
79
87
### Circuit Assembler
80
-
To create a new circuit, write a macro with existing circuits as its gates and run the [macro-circuit-assembler](https://github.com/wyatt-howe/macro-circuit-assembler/tree/casm) with:
88
+
To create a new circuit, write a macro with existing circuits as its gates and run the [macro-circuit-assembler](https://github.com/wyatt-howe/macro-circuit-assembler/) with:
@@ -1186,7 +1186,7 @@ <h4 class="name" id="start"><span class="type-signature"></span>start<span class
1186
1186
<brclass="clear">
1187
1187
1188
1188
<footer>
1189
-
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Feb 13 2020 12:30:51 GMT-0500 (Eastern Standard Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
1189
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Feb 18 2020 13:36:11 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Feb 13 2020 12:30:51 GMT-0500 (Eastern Standard Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
485
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Feb 18 2020 13:36:11 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
<p>Start the communications server from server.js with the command below:</p>
@@ -117,16 +123,15 @@ <h3>Circuit Format</h3>
117
123
2 1 4 6 7 AND
118
124
</code></pre>
119
125
<h3>Circuit Assembler</h3>
120
-
<p>To create a new circuit, write a macro with existing circuits as its gates and run the <ahref="https://github.com/wyatt-howe/macro-circuit-assembler/tree/casm">macro-circuit-assembler</a> with:</p>
126
+
<p>To create a new circuit, write a macro with existing circuits as its gates and run the <ahref="https://github.com/wyatt-howe/macro-circuit-assembler/">macro-circuit-assembler</a> with:</p>
121
127
<preclass="prettyprint source lang-shell"><code>npm run casm -- <path_to_macro> <output_path>
122
128
</code></pre>
123
129
<p>For example, this macro assembles an AND circuit over 8 bits using
124
130
existing 4 bit AND circuits:</p>
125
131
<preclass="prettyprint source"><code>npm run casm -- circuits/macros/and-8.casm circuits/and-8.txt
126
132
</code></pre>
127
133
<h2>Running Tests</h2>
128
-
<h3>End-to-end Tests</h3>
129
-
<p>All of the built-in test vectors can be verified in <code>npm test</code>. The tests will run a server automatically.</p>
134
+
<p>All of the built-in test vectors can be verified in <code>npm test</code>. The tests will run a server automatically. These are end-to-end tests.</p>
130
135
<h2>Capabilities</h2>
131
136
<p>JIGG is designed for semi-honest parties (in either node or in the browser). We support point-and-permute, free-XOR, free single-input gates, and encryption from a random oracle (fixed-key XChaCha20). The half-AND optimization is compatible but not yet supported. The default label size is 128 bits and relies on JavaScript's Uint8Array class. The <ahref="https://github.com/wyatt-howe/jigg/tree/simple-labels"><code>simple-labels</code></a> branch demonstrates dynamically-sized labels (that are 53 bits in length or less) without using arrays. Some potential improvements are listed in the to-do section.</p>
132
137
<h2>Contributing</h2>
@@ -152,7 +157,7 @@ <h2>Information and Collaborators</h2>
152
157
<brclass="clear">
153
158
154
159
<footer>
155
-
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Feb 13 2020 12:30:51 GMT-0500 (Eastern Standard Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
160
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Feb 18 2020 13:36:11 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Feb 13 2020 12:30:51 GMT-0500 (Eastern Standard Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
109
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Feb 18 2020 13:36:11 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Feb 13 2020 12:30:51 GMT-0500 (Eastern Standard Time) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
254
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Feb 18 2020 13:36:11 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
0 commit comments