Module Keccak.Noalloc

Versions of these functions which write their output in a buffer passed in as an argument

val shake128 : msg:bytes -> digest:bytes -> unit

shake128 msg size hashes msg using SHAKE-128 and returns a digest of size bytes.

val shake256 : msg:bytes -> digest:bytes -> unit

shake256 msg digest hashes msg using SHAKE-256 and outputs the result in digest.