Crate getrandom_or_panic

Source
Expand description

Returns OsRng with getrandom, or a CryptoRng which panics without getrandom.

Re-exports§

pub use rand_core;

Traits§

CryptoRng
Re-export rand_core types to simplify dependences A marker trait used to indicate that an RngCore or BlockRngCore implementation is supposed to be cryptographically secure.
CryptoRngCore
Re-export rand_core types to simplify dependences An extension trait that is automatically implemented for any type implementing RngCore and CryptoRng.
RngCore
Re-export rand_core types to simplify dependences The core of a random number generator.
SeedableRng
Re-export rand_core types to simplify dependences A random number generator that can be explicitly seeded.

Functions§

getrandom_or_panic