Function sodiumoxide::crypto::stream::chacha20::stream[][src]

pub fn stream(len: usize, n: &Nonce, k: &Key) -> Vec<u8>
Expand description

stream() produces a len-byte stream c as a function of a secret key k and a nonce n.