Trait 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.

Implementors§

Source§

impl TryCryptoRng for OsRng

Available on crate feature os_rng only.
Source§

impl<R: CryptoRng> TryCryptoRng for R