This commit is contained in:
oskarth 2022-11-04 10:46:24 +08:00 committed by fryorcraken.eth
parent 0228443bb3
commit bc9fdcf664
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 3 deletions

View File

@ -252,7 +252,7 @@ is a share of the secret equation, and the (internal) nullifier acts as a unique
fingerprint for a given app/user/epoch combination. How do we calculate `y` and
the internal nullifier?
```circom
```
// Private input
signal input identity_secret;
signal input path_elements[n_levels][1];
@ -269,8 +269,6 @@ signal output root;
signal output nullifier;
```
<!-- ![Circuit](/img/building_private_infra_circuit.png) -->
### RLN - Shamir's secret sharing
This is done using [Shamir's secret