Function generate

Source
pub fn generate(length: Length) -> Vec<u8> 
Available on crate feature generate-secret only.
Expand description

Generates cryprographically secure random bytes of specified length.