def sha256_packed_bytes
import mylsm-lsm-store@0.6.0.1/src/hub_sha/sha256.bend as Sha256import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Packed
205# Return the SHA-256 digest as packed bytes in canonical big-endian order.
206def sha256_packed_bytes(bytes: Packed.Bytes) -> Packed.Bytes:
207 packed.digest.words(sha256_packed(bytes),
208 (Packed.Cursor.new(Packed.Bytes{32, Packed.alloc(32)}), True{}))
Uses (7)
Used by (22)
- mylsm-lsm-store@0.6.0.1/src/transfer/Restore:digest.matches
- mylsm-lsm-store@0.6.0.1/src/ByteManifest:decode.checksum.copies
- mylsm-lsm-store@0.6.0.1/src/ByteManifest:encode.body.copies
- mylsm-lsm-store@0.6.0.1/src/ByteSstFile:file.block.parts
- mylsm-lsm-store@0.6.0.1/src/ByteSstFile:file.block.raw.parts
- …