mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 03:06:42 +01:00
First iteration sha256
This commit is contained in:
2371
test/circuits/out.json
Normal file
2371
test/circuits/out.json
Normal file
File diff suppressed because it is too large
Load Diff
15
test/circuits/sha256_2_test.circom
Normal file
15
test/circuits/sha256_2_test.circom
Normal file
@@ -0,0 +1,15 @@
|
||||
include "../../circuits/sha256/sha256_2.circom";
|
||||
|
||||
template Main() {
|
||||
signal private input a;
|
||||
signal private input b;
|
||||
signal output out;
|
||||
|
||||
component sha256_2 = Sha256_2();
|
||||
|
||||
sha256_2.a <== a;
|
||||
sha256_2.b <== a;
|
||||
out <== sha256_2.out;
|
||||
}
|
||||
|
||||
component main = Main();
|
||||
Reference in New Issue
Block a user