random data source device
device produces high quality
pseudo-random output data without ever blocking, even immediately after
booting. Entropy data is collected from system activity (such as disk,
network, and clock device interrupts), and then used to key a stream cipher to
generate the output.
device is intended to be used in
scripts. In C programs, use the
functions instead, which can be called in almost all coding environments,
, and which avoids
accessing a device every time.
Never use /dev/random
, it does the same as
, but on many other systems, it
misbehaves. For example, it may block, directly return entropy instead of
using a stream cipher, or only return data from hardware random generators.
device first appeared in Linux in
devices have been available since
No randomness testing suite provided.