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")
// -> 875_689_107
pub fn hash_with_seed(input: String, seed: Int) -> Int

Hash strings using different seed values.

hash_with_seed("some data", 1)
// -> 875_689_107
Search Document