Skip to main content

hash64

Function hash64 

Source
pub fn hash64(bytes: &[u8]) -> u64
Expand description

FNV-1a 64 with a splitmix64 finalizer over raw bytes.

Shared with crate::block::node_id, which needs the same property this module was written for: the same input must hash the same way in every build, forever.