snarkjs/test/plonk_circuit/circuit.circom
2021-05-31 13:21:07 +02:00

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();