Expand description
Returns OsRng
with getrandom
, or a CryptoRng
which panics without getrandom
.
Re-exports§
pub use rand_core;
Traits§
- Crypto
Rng - Re-export rand_core types to simplify dependences
A marker trait used to indicate that an
RngCore
orBlockRngCore
implementation is supposed to be cryptographically secure. - Crypto
RngCore - Re-export rand_core types to simplify dependences
An extension trait that is automatically implemented for any type
implementing
RngCore
andCryptoRng
. - RngCore
- Re-export rand_core types to simplify dependences The core of a random number generator.
- Seedable
Rng - Re-export rand_core types to simplify dependences A random number generator that can be explicitly seeded.