Skip to content

Commit

Permalink
Merge pull request iden3#1 from InfiniteSwerve/patch-1
Browse files Browse the repository at this point in the history
Minor typo fix
  • Loading branch information
InfiniteSwerve authored Oct 13, 2021
2 parents 7cfbdc0 + d5c1304 commit 4f64a7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mkdocs/docs/circom-language/signals.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ component main {public [in1,in2]} = Multiplier2();

This example declares input signals `in1` and `in2` of the main component as public signals.

In circom, all output signals of the main component are public (and cannot be made private), the input signals of the main component are private if not stated otherwise using the keyword public as avobe. The rest of signals are all private and cannot be made public.
In circom, all output signals of the main component are public (and cannot be made private), the input signals of the main component are private if not stated otherwise using the keyword public as above. The rest of signals are all private and cannot be made public.

Thus, from the programmer's point of view, only public input and output signals are visible from outside the circuit, and hence no intermediate signal can be accessed.

Expand Down
2 changes: 1 addition & 1 deletion mkdocs/docs/getting-started/proving-circuits.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Export the verification key:
snarkjs zkey export verificationkey multiplier2_0001.zkey verification_key.json
```

### Generating a Groph16 ZKP <a id="my-first-zero-knowledge-proof"></a>
### Generating a Groth16 ZKP <a id="my-first-zero-knowledge-proof"></a>

Once the witness is computed and the trusted setup is already executed, we can **generate a zk-proof** associated to the circuit and the witness:

Expand Down

0 comments on commit 4f64a7f

Please sign in to comment.