pub fn bytes<const N: usize>() -> Result<[u8; N], RandomError>Expand description
Returns an array filled with cryptographically-random data.
Returns RandomError when the operating system’s random number
generator is unavailable or fails.
pub fn bytes<const N: usize>() -> Result<[u8; N], RandomError>Returns an array filled with cryptographically-random data.
Returns RandomError when the operating system’s random number
generator is unavailable or fails.