Search results

There are no results.

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 code
Hide source code
fn pub move finish -> Int
fn pub move finish -> Int

Returns the hash for the values written so far.

write

Show source code
Hide source code
fn pub mut write(value: Int)
fn pub mut write(value: Int)

Writes an Int into the hasher.

Implementations

std.hash.siphash.

SipHasher13

impl Hasher for SipHasher13