Skip to main content

random_bytes

Function random_bytes 

Source
pub fn random_bytes<const N: usize>() -> [u8; N]
Expand description

N bytes from the OS generator; zeros on a platform without one.