mirror of
https://github.com/tornadocash/snarkjs.git
synced 2024-11-01 07:45:43 +01:00
18 lines
247 B
Plaintext
18 lines
247 B
Plaintext
template TestPlonk() {
|
|
signal input a;
|
|
signal private input b;
|
|
signal output c;
|
|
|
|
signal i1;
|
|
signal i2;
|
|
signal i4;
|
|
|
|
i1 <== a+b+3;
|
|
|
|
i2 <== i1*i1;
|
|
i4 <== i2*i2;
|
|
c <== i1*i4;
|
|
}
|
|
|
|
component main = TestPlonk();
|