Module tiny_std::unix::random

source ·

Structs

  • A small, basic PRNG implemented as an LCG. Should never be used for security-critical things, but can be used as a high-performance source of pseudo-randomness. For secure randoms system_random is more appropriate.

Functions

  • Fills the provided buffer with random bytes from /dev/random.