Function umash_sys::umash_full[][src]

pub unsafe extern "C" fn umash_full(
    params: *const umash_params,
    seed: u64,
    which: c_int,
    data: *const c_void,
    n_bytes: c_ulong
) -> u64
Expand description

Computes the UMASH hash of data[0 ... n_bytes).

Randomly generated param lead to independent UMASH values and associated worst-case collision bounds; changing the seed comes with no guarantee.

@param which 0 to compute the first UMASH defined by params, 1 for the second.