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.

17 lines
310 B

  1. pragma circom 2.0.0;
  2. include "../../circuits/sha256/sha256_2.circom";
  3. template Main() {
  4. signal input a; //private
  5. signal input b; //private
  6. signal output out;
  7. component sha256_2 = Sha256_2();
  8. sha256_2.a <== a;
  9. sha256_2.b <== b;
  10. out <== sha256_2.out;
  11. }
  12. component main = Main();