Function seahash::hash_seeded [] [src]

pub fn hash_seeded(buf: &[u8], seed: u64) -> u64

Hash some buffer according to a chosen seed.

This is the keyed version of SeaHash, which allows chosing a seed defining the hash function. It is generally suspected that this is secure (i.e. you cannot deduce the seed, even with unlimited "black box" access to the function), but it has not yet been subject to proper cryptoanalysis.

The seed is expected to be chosen from an uniform distribution.