Skip to main content

Module fnv

Module fnv 

Source
Expand description

The word-wise FNV-1a hash the pack’s checksum and a bundle’s fingerprint share: FNV-1a’s constants over 64-bit words (the last few bytes one at a time), each step followed by a shift that folds the high bits into the low ones. Each step is a bijection of the hash so far, so any one word changed changes it. Every integer is a u64, whatever the platform. A frame’s snapshot hashes a painted picture with it too (ADR-0078).

Structs§

Hasher
A running hash.