Function bsa3_hash::calculate[][src]

pub fn calculate(input: &[u8]) -> (u32, u32)
Expand description

Computes the hash of a given byte sequence, expressed as a tuple of two 32-bit integers.

Example

println!("{:?}", bsa3_hash::calculate(b"foo"));