Randomness
System random number generation
System RNGs provide cryptographically secure random bytes from the operating system kernel, seeded by hardware and environmental entropy. They are the foundation for all key and nonce generation.
Every cryptographic system ultimately depends on unpredictable randomness. Kernel generators gather entropy from many sources and run it through a vetted cryptographic generator, exposing it through simple system calls.
Using the system RNG directly avoids common user-space mistakes such as poor seeding, state duplication after fork and silent fallback to weak generators.