snarkjs/test/plonk_circuit/circuit.circom

18 lines
247 B
Plaintext
Raw Normal View History

2021-05-18 22:26:22 +02:00
template TestPlonk() {
2021-05-31 13:21:07 +02:00
signal input a;
2021-05-18 22:26:22 +02:00
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();