fides 4.3.5

Fides is a library for cryptographic primitives.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub fn city_hash_128(input1: u64, input2: u64) -> (u64, u64) {
    let mul: u64 = 0x9ddfea08eb382d69;
    let hash1: u64 = input1
        .wrapping_mul(mul)
        .rotate_left(32)
        .wrapping_add(input2);
    let hash2: u64 = input2
        .wrapping_mul(mul)
        .rotate_left(32)
        .wrapping_add(hash1);
    (hash1, hash2)
}