Expand description
Central hashing utility using BLAKE3.
Replaces scattered MD5 helpers with a single, fast, non-cryptographic hash function. BLAKE3 runs at 8+ GB/s (vs MD5 ~3 GB/s) and produces collision-resistant 256-bit digests.
Functionsยง
- hash_
hex - Return a hex-encoded BLAKE3 hash of the input bytes.
- hash_
short - Short hash (first 16 hex chars = 64 bits) for cache keys and fingerprints.
- hash_
str - Convenience: hash a string slice and return hex digest.