Hash.CrHash.digest_of: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/hash.bend as Hash Lines 42-45 of bend-osdev-crypto@0.1.0.0/hash.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/hash.bend&start_line=42&end_line=45 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B # the streaming interface in one call: a ~digest for a hash with no one-shot # code of its own def CrHash.digest_of(~H: Data, ~init: H, ~update: H -> B.Octets -> H, ~final: H -> B.Octets, m: B.Octets) -> B.Octets: final(update(init, m)) Uses (1): https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets