Skip to main content

Module rng

Module rng 

Source
Expand description

Cryptographic random number generation trait and OS-backed implementation.

Structs§

OsRng
OS-backed cryptographic RNG reading from /dev/urandom on Unix.

Traits§

CryptoRng
Trait for cryptographic-quality random byte generation.