3 ms·
You shouldn't use /dev/random. The article makes that very clear.
by teamhappy 10y ago
You shouldn't use /dev/random. The article makes that very clear.
- ComodoHacker 10y ago/dev/random still exists for a reason, and I believe the reason isn't backward compatibility only.
- marcosdumay 10y agoI do believe the reasons are exactly backward compatibility and politics¹. 1 - As in "oh just keep it there, it's easier than convincing everybody that it's useless".
- teamhappy 10y ago"The /dev/random interface is considered a legacy interface, and /dev/urandom is preferred and sufficient in all use cases, with the exception of applications which require randomness during early boot time; ..." From http://man7.org/linux/man-pages/man4/urandom.4.html http://man7.org/linux/man-pages/man4/urandom.4.html
- ComodoHacker 10y agoOK, "applications which require randomness during early boot time" is one such case. Thank you for pointing out.
- tptacek 10y agoNo, it isn't. During early boot time, you should use the system call interface, not the special files.