mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 11:16:42 +01:00
Readme, License Fixes and another test added
This commit is contained in:
10
circuits/sha256/rotate.circom
Normal file
10
circuits/sha256/rotate.circom
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
template RotR(n, r) {
|
||||
signal input in[n];
|
||||
signal output out[n];
|
||||
|
||||
for (i=0; i<n; i++) {
|
||||
out[i] <== in[ (i+r)%n ];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user