Lyricdev
GitHub

struct Fnv1a64

pub struct Fnv1a64 :: [Hasher]

Conforms to Hasher.

Hashes with 64-bit FNV-1a, a byte at a time and without a key.

It is fast, and meant for trusted input.

Methods

pub static fn new(): Fnv1a64
pub mut fn writeByte(b: uint8): void
pub fn finish(): uint64