Hash.CrHash.of_pieces: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/hash.bend as Hash Lines 38-40 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=38&end_line=40 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B # the digest of the pieces joined, through the streaming interface def CrHash.of_pieces(~H: Data, ~init: H, ~update: H -> B.Octets -> H, ~final: H -> B.Octets, ps: List<&2, B.Octets>) -> B.Octets: final(CrHash.update_all(~H, ~update, init, ps)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/hash.bend&name=CrHash.update_all