InstSha2.CrSha2.final: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/inst_sha2.bend as InstSha2 Lines 37-41 of bend-osdev-crypto@0.1.0.0/inst_sha2.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/inst_sha2.bend&start_line=37&end_line=41 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B import bend-collections-laws-crypto@1.0.0.0/src/crypto/hash.bend as Hc # the digest of the bytes so far def CrSha2.final(s: CrSha2State) -> B.Octets: match s: case CrSha2State{h}: B.Octets.of_list(Hc.digest(h)) Uses (4): https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/hash.bend&name=digest 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-bytes@0.1.1.0/bytes.bend&name=Octets.of_list https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/inst_sha2.bend&name=CrSha2State