Function cityhash_sys::city_hash_128_with_seed
source · pub fn city_hash_128_with_seed(bytes: &[u8], seed: u128) -> u128
Expand description
Retrieves a 128-bit hash of a slice of bytes, a seed is also hashed into the result.
Example
use cityhash_sys::city_hash_128_with_seed;
assert_eq!(city_hash_128_with_seed(&[0u8,1,2,3,4], 123), 0x68DA6334DE1F04C9CE255B9613AD58B7);