std.hash.Hasher
Hasher
A type used for hashing objects.
A Hasher
is a streaming hasher: instead of feeding it a single value and
receiving a hash right away, you write individual values to the Hasher
.
Required methods
finish
Show source codeHide source code
fn pub move finish -> Int
fn pub move finish -> Int
Returns the hash for the values written so far.
write
Show source codeHide source code
fn pub mut write(value: Int)
fn pub mut write(value: Int)
Writes an Int
into the hasher.
Implementations
SipHasher13
impl Hasher for SipHasher13