Skip to main content

random_fill

Function random_fill 

Source
pub fn random_fill(buf: &mut [u8]) -> Result<(), Error>
Expand description

Fills buf from the operating system’s CSPRNG.