4 ms·
in the the man page they say only legacy > The /dev/random device is a legacy interface which dates back to a time where the cryptographic primitives used in t
by kenniskrag 5y ago
in the the man page they say only legacy
> The /dev/random device is a legacy interface which dates back to a time where the cryptographic primitives used in the implementation of /dev/urandom were not widely trusted. It will return random bytes only within the estimated number of bits of fresh noise in the entropy pool, blocking if necessary.
/dev/random is suitable for applications that need high quality randomness, and can afford indeterminate delays.
and recommend:
> Linux 3.17 and later provides the simpler and safer getrandom(2) interface which requires no special files; see the getrandom(2) manual page for details.