Struct mx3::Mx3Hasher [−][src]
pub struct Mx3Hasher { /* fields omitted */ }
Hasher for computing a hash digest of a stream of bytes.
This hasher is not cryptographically secure.
Implementations
impl Mx3Hasher
[src]
impl Mx3Hasher
[src]pub fn new(seed: u64) -> Self
[src]
Construct a hasher with the given seed for a stream of bytes.
This constructor is not compatible with the reference design due to the length of the stream being unknown.
pub fn new_with_length(seed: u64, buffer_len: usize) -> Self
[src]
Construct a hasher with the given seed and stream length.
This constructor allows compatibility with the reference design. If you
are simply hashing a slice, consider using the shorter hash()
function instead.
Trait Implementations
impl Clone for Mx3Hasher
[src]
impl Clone for Mx3Hasher
[src]fn clone(&self) -> Mx3Hasher
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hasher for Mx3Hasher
[src]
impl Hasher for Mx3Hasher
[src]