Function fog_crypto::stream::stream_id_from_key[][src]

pub fn stream_id_from_key(version: u8, key: &[u8]) -> StreamId

Compute the corresponding StreamId for a given raw key.