1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_stdlib/stdlib/hashes/sha3/512bit.zok
2022-05-11 21:33:57 +02:00

5 lines
No EOL
144 B
Text

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