snarkjs/test/plonk_circuit/circuit.circom
2021-05-18 22:26:22 +02:00

18 lines
255 B
Plaintext

template TestPlonk() {
signal private 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();