Skip to main content

random_bytes

Function random_bytes 

Source
pub fn random_bytes(len: usize) -> Vec<u8> 
Expand description

Fill a buffer from the OS CSPRNG.

Every salt, IV and key this crate writes comes from here.