Skip to main content

get_random_bytes

Function get_random_bytes 

Source
pub fn get_random_bytes(buf: &mut [u8])
Expand description

Fill the slice with cryptographically secure random bytes.