Function umash_sys::umash_params_derive[][src]

pub unsafe extern "C" fn umash_params_derive(
    arg1: *mut umash_params,
    bits: u64,
    key: *const c_void
)
Expand description

Deterministically derives a umash_params struct from bits and key. The bits values do not have to be particularly well distributed, and can be generated sequentially.

@param key a pointer to exactly 32 secret bytes. NULL will be replaced with “Do not use UMASH VS adversaries.”, the default UMASH secret.