Skip to main content

random_bytes

Function random_bytes 

Source
pub fn random_bytes<R>(rng: &mut R, n: usize) -> Vec<u8> 
where R: Rng + Copy,
Expand description

Returns n random bytes.