Struct core::hash::sip::SipStateExperimental
[-]
[+]
[src]
pub struct SipState { // some fields omitted }
SipState
computes a SipHash 2-4 hash over a stream of bytes.
Methods
impl SipState
fn new() -> SipState
Creates a SipState
that is keyed off the provided keys.
fn new_with_keys(key0: u64, key1: u64) -> SipState
Creates a SipState
that is keyed off the provided keys.
fn reset(&mut self)
Resets the state to its initial state.
fn result(&self) -> u64
Returns the computed hash.