Expand description
Deterministic hashing (FNV-1a 64).
Katra3D uses fingerprints everywhere — file identity, access patterns, cache keys, semantic graph identity. Fingerprints must be stable across runs, machines, and architectures, so we implement FNV-1a directly instead of relying on randomized or platform-dependent hashers.
FNV-1a is not a cryptographic hash. It is deliberately simple, auditable, and deterministic (KatraFlow §10: “simple, auditable techniques”).
Functions§
- fnv1a
- FNV-1a 64-bit over raw bytes.
constso schema hashes can be computed at compile time. - fnv1a_
combine - Combine two hashes (for rolling fingerprints).
- fnv1a_
parts - FNV-1a over a sequence of 64-bit parts (each part folded in little-endian).
- fnv1a_
str - FNV-1a over a string.