Skip to main content

stream_key

Function stream_key 

Source
pub fn stream_key(seed: u64, keys: &[u64]) -> u64
Expand description

Mix a master seed and a list of identifiers into one 64-bit stream key.

Order matters: [frame, peptide] and [peptide, frame] give different streams, which is what you want, since the components are not interchangeable.