Skip to main content

element_hash

Function element_hash 

Source
pub fn element_hash(elem: &[u8]) -> u64
Expand description

Returns the hash fastbloom derives for elem with the persisted SEED.

A filter built from these hashes with PrehashedBuildHasher has exactly the same bits as one built by inserting the elements themselves, so files stay readable by both paths.