mumu

Functions

pub fn hash(input: String) -> Int

Hash strings into a sequence of numbers using the x86_32bit variant of the murmur3 algorithm.

hash("some data")
// -> 3297211900
pub fn hash_with_seed(input: String, seed: Int) -> Int

Hash strings using different seed values. By default the hash function uses 0 as the seed value.

Search Document