Skip to main content

rand_bytes_array

Function rand_bytes_array 

Source
pub fn rand_bytes_array<const N: usize>() -> [u8; N]
Available on crate feature rand only.
Expand description

Generates an array of random bytes of length N.