Struct std::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.

Trait Implementations

impl Writer for SipState

fn write(&mut self, msg: &[u8])

impl Clone for SipState

fn clone(&self) -> SipState

fn clone_from(&mut self, &SipState)

impl Default for SipState

fn default() -> SipState

Derived Implementations

impl Copy for SipState