circomlib/circuits/aliascheck.circom

15 lines
226 B
Plaintext
Raw Normal View History

2018-12-06 19:32:49 +03:00
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;
}