def CrHash.digest_of
import bend-osdev-crypto@0.1.0.0/hash.bend as Hashimport Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
42# the streaming interface in one call: a ~digest for a hash with no one-shot
43# code of its own
44def CrHash.digest_of(~H: Data, ~init: H, ~update: H -> B.Octets -> H, ~final: H -> B.Octets, m: B.Octets) -> B.Octets:
45 final(update(init, m))
Uses (1)
Used by (0)
No other definition uses this definition.