pub fn random(mut rng: impl RngCore + CryptoRng) -> Option<Self> {
        let mut data = [0u8; Self::BYTES];
        rng.fill_bytes(&mut data);
        generate_secret_key(&data)
    }
/// Compute a secret key from a CS-PRNG
Compute a secret key from a CS-PRNG
Compute a secret key from a CS - PRNG
pub fn random(mut rng: impl RngCore + CryptoRng) -> Option<Self> {
        let mut data = [0u8; Self::BYTES];
        rng.fill_bytes(&mut data);
        generate_secret_key(&data)
    }
pub fn random ( mut rng : impl RngCore + CryptoRng ) -> Option < Self > { let mut data = [ 0u8 ; Self :: BYTES ] ; rng . fill_bytes ( & mut data ) ; generate_secret_key ( & data ) }
Compute a secret key from a CS-PRNG
Compute a secret key from a CS - PRNG
rng
impl RngCore + CryptoRng