Skip to main content

Module checksum

Module checksum 

Source
Expand description

Standalone xxHash3-64 integrity primitive.

Non-cryptographic corruption detection, decoupled from compression. The same function backs StorageEnvelope’s embedded checksum, so the wire value is identical whether you compute it directly or via ByteStorage::store.

Functions§

checksum
Compute the xxHash3-64 checksum of data, big-endian (xxhash canonical byte order — the value embedded in every StorageEnvelope).
verify_checksum
Verify data against an expected xxHash3-64 checksum.