non_zero_random_bytes

Function non_zero_random_bytes 

Source
fn non_zero_random_bytes<R: CryptoRngCore + ?Sized>(
    rng: &mut R,
    data: &mut [u8],
)
Expand description

Fills the provided slice with random values, which are guaranteed to not be zero.