rscache::util::djd2
pub fn hash<T: Into<String>>(string: T) -> i32
Hashes the string
Can panic if nth(n) returns None if n >= strings iter length.
nth(n)
None
let hash = rscache::util::djd2::hash("huffman"); assert_eq!(hash, 1258058669);