On Thu, 25 May 2023, Chris Adams wrote:
There's also /dev/urandom (which should never "run out" of randomness), but IIRC they're the basically same now and neither will block (except possibly during boot).
My understanding is that urandom will never run out because it is an interface to a pseudorandom number generator. random gets its data from a hardware random number pool. Correct?
But if you're writing a program, there's the getrandom() call. https://man7.org/linux/man-pages/man2/getrandom.2.html
-- Michael hennebry@xxxxxxxxxxxxxxxxxxxxxx "Occasionally irrational explanations are required" -- Luke Roman _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue