Module random

Module random 

Source

Re-exports§

pub use prg::new_prg;
pub use prg::prg;
pub use prg::Prng;
pub use test_rng::test_rng;
pub use test_rng::TestRng;

Modules§

derive_rng
prf
prg
test_rng

Traits§

CryptoRngCore
An extension trait that is automatically implemented for any type implementing RngCore and CryptoRng.
Random
A trait for getting a random value for a type. Will be replaced by the random feature once it is included in std (https://github.com/rust-lang/rust/issues/130703).
RandomNonZero
Generate random non-zero values.
RandomWith
A trait for getting a random value for a type alongside some data.

Type Aliases§

Seed
The generic type for all seeds across our protocols.