pub fn fill(buf: &mut [u8]) -> Result<(), RandomError>Expand description
Fills the given buffer with cryptographically-random data.
Returns RandomError when the operating system’s random number
generator is unavailable or fails.
pub fn fill(buf: &mut [u8]) -> Result<(), RandomError>Fills the given buffer with cryptographically-random data.
Returns RandomError when the operating system’s random number
generator is unavailable or fails.