bitwarden_crypto::util

Function generate_random_bytes

Source
pub fn generate_random_bytes<T>() -> Zeroizing<T>
where Standard: Distribution<T>, T: Zeroize,
Expand description

Generate random bytes that are cryptographically secure