def CrSha2.sha256
import bend-osdev-crypto@0.1.0.0/inst_sha2.bend as InstSha2import 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
43# The digests in one call
44def CrSha2.sha256(o: B.Octets) -> B.Octets:
45 B.Octets.of_list(Hc.sha256(B.Octets.to_list(o)))