1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_stdlib/stdlib/hashes/sha3/256bit.zok
2022-04-07 16:04:40 +02:00

5 lines
No EOL
144 B
Text

import "hashes/keccak/keccak" as keccak;
def main<N>(u64[N] input) -> (u64[4]) {
return keccak::<_, 256>(input, 0x0000000000000006)[..4];
}