Struct ritehash::FxHasher [−][src]
pub struct FxHasher { /* fields omitted */ }
Expand description
This hashing algorithm was extracted from the Rustc compiler. This is the same hashing algorithm used for some internal operations in Firefox. The strength of this algorithm is in hashing 8 bytes at a time on 64-bit platforms, where the FNV algorithm works on one byte at a time.
This hashing algorithm should not be used for cryptographic, or in scenarios where DOS attacks are a concern.
Trait Implementations
impl Hasher for FxHasher
[src]
impl Hasher for FxHasher
[src]fn write_usize(&mut self, i: usize)
[src]
fn write_usize(&mut self, i: usize)
[src]Writes a single usize
into this hasher.
fn write_u128(&mut self, i: u128)
1.26.0[src]
fn write_u128(&mut self, i: u128)
1.26.0[src]Writes a single u128
into this hasher.
fn write_i128(&mut self, i: i128)
1.26.0[src]
fn write_i128(&mut self, i: i128)
1.26.0[src]Writes a single i128
into this hasher.
fn write_isize(&mut self, i: isize)
1.3.0[src]
fn write_isize(&mut self, i: isize)
1.3.0[src]Writes a single isize
into this hasher.