You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
350 B

  1. include "../node_modules/circom/circuits/compconstant.circom";
  2. template Sign() {
  3. signal input in[254];
  4. signal output sign;
  5. component comp = CompConstant(10944121435919637611123202872628637544274182200208017171849102093287904247808);
  6. var i;
  7. for (i=0; i<254; i++) {
  8. comp.in[i] <== in[i];
  9. }
  10. sign <== comp.out;
  11. }