8 .Nd random data source devices.
10 .Cd "pseudo-device random"
14 device produces uniformly distributed random byte values
15 of potentially high quality.
17 To obtain random bytes, open
19 for reading and read from it.
21 The same random data is also available from
25 system call interface will provide resiliency to file descriptor exhaustion, chroot, or sandboxing which can make
27 unavailable. Additionally, the
29 API provides a fast userspace random number generator built on the
31 data source and is preferred over directly accessing the system's random device.
34 is a compatibility nod to Linux. On Linux,
36 will produce lower quality output if the entropy pool drains, while
38 will prefer to block and wait for additional entropy to be collected.
39 With Fortuna, this choice and distinction is not necessary, and
40 the two devices behave identically. You may use either.
46 pseudo random number generator algorithm and maintains its entropy pool.
47 The kernel automatically seeds the algorithm with additional entropy during normal execution.
49 .Bl -tag -width /dev/urandom -compact
56 device appeared in the Linux operating system.