circomlib/circuits/aliascheck.circom
2018-12-06 17:32:49 +01:00

15 lines
226 B
Plaintext

include "compconstant.circom";
template AliasCheck() {
signal input in[254];
component compConstant = CompConstant(-1);
for (var i=0; i<254; i++) in[i] ==> compConstant.in[i];
compConstant.out === 0;
}