pub trait EntropicRng: CryptoRng { }
Expand description
Trait representing an Rng where every output is derived from supposedly strong entropy.
Implemented by CautiousRng
.
§Warning
Do not implement this trait for new Rngs unless you know what you are doing;
any Rng to which you apply this trait should be at least as
unpredictable and secure as OsRng
.
We recommend using CautiousRng
when you need an instance of this trait.
Implementors§
impl EntropicRng for CautiousRng
impl<R: CryptoRng> EntropicRng for FakeEntropicRng<R>
Available on crate feature
testing
only.