//! Index salt handling for the `.kvei` existence filter.
//!
//! Erigon hashes each key as `murmur3.Sum128WithSeed(key, salt)` before adding it to
//! the bloom filter, where `salt` is a per-snapshot 32-bit value (Erigon stores it in
//! `salt-state.txt` / `salt-blocks.txt`). Without the right salt the filter cannot be
//! used, so a reader must learn it — from the file, from the caller, or by brute force.
use Path;
/// How to obtain the `.kvei` index salt.
/// Read an Erigon salt file (`salt-state.txt` / `salt-blocks.txt`): a 4-byte big-endian
/// `u32`. Returns `None` if the file is missing or too short.