Skip to main content

Module chunk_integrity

Module chunk_integrity 

Source
Expand description

Complete BLAKE3 digests for aligned EMF/M64 chunk payloads. Full BLAKE3 chunk integrity. This is a digest, not a Bao range proof.

A 64-byte trailer contains the complete 32-byte BLAKE3 digest of the record bytes followed by 32 zero bytes. Keeping the trailer aligned leaves the existing 64-byte records unchanged. Legacy truncated prefixes are not seals.

Constants§

BLAKE3_TRAILER_BYTES

Functions§

blake3_trailer
Construct an aligned trailer without allocating or truncating the digest.
verify_blake3_trailer
Verify all 256 digest bits, exact trailer size, and reserved zero bytes.