Skip to main content

random_bytes

Function random_bytes 

Source
pub fn random_bytes(size: usize) -> Result<Vec<u8>, RngError>
Expand description

Return one owned buffer of random bytes from the shared RNG.