InstSha2.CrSha2.sha256: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/inst_sha2.bend as InstSha2 Lines 43-45 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=43&end_line=45 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 digests in one call def CrSha2.sha256(o: B.Octets) -> B.Octets: B.Octets.of_list(Hc.sha256(B.Octets.to_list(o))) Uses (4): https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/hash.bend&name=sha256 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-bytes@0.1.1.0/bytes.bend&name=Octets.to_list