Lyricdev
GitHub

struct DefaultHasher

pub struct DefaultHasher :: [Hasher]

Conforms to Hasher.

Hashes with SipHash-1-3 under the process's key, drawn from the system at the first use.

The hash of the same input differs from run to run, and input from outside cannot aim collisions at it.

Methods

pub static fn new(): DefaultHasher
pub mut fn writeByte(b: uint8): void
pub mut fn writeUint(v: uint64): void
pub fn finish(): uint64