Trait rand::TryCryptoRng

source ·
pub trait TryCryptoRng: TryRngCore { }
Expand description

A marker trait used to indicate that a TryRngCore implementation is supposed to be cryptographically secure.

See CryptoRng docs for more information about cryptographically secure generators.

Implementations on Foreign Types§

source§

impl TryCryptoRng for ChaCha8Rng

source§

impl TryCryptoRng for ChaCha12Rng

source§

impl TryCryptoRng for ChaCha20Rng

source§

impl<'a, R> TryCryptoRng for &'a mut R
where R: TryCryptoRng + ?Sized,

source§

impl<R> TryCryptoRng for Box<R>
where R: TryCryptoRng + ?Sized,

Implementors§