Trait CryptoSrc
fog_crypto
pub trait CryptoSrc: CryptoRng + RngCore { }
Holds a cryptographic random number generator (RNG). This trait is needed so that a RNG can be passed around as a trait object.
impl<T: CryptoRng + RngCore> CryptoSrc for T