pub unsafe fn city_hash_crc_128_with_seed(bytes: &[u8], seed: u128) -> u128
Available with target feature sse4.2
only.
Expand description
Retrieves a 128-bit hash of a slice of bytes, a seed is also hashed into the result.
use cityhash_sys::city_hash_crc_128_with_seed;
assert_eq!(unsafe {city_hash_crc_128_with_seed(&[0u8,1,2,3,4], 123)}, 0x68DA6334DE1F04C9CE255B9613AD58B7);