Talk:Random number generator (device): Difference between revisions

m (forgot to add the title)
 
(One intermediate revision by the same user not shown)
Line 5:
 
: OpenBSD 4.8 and before had /dev/urandom giving random numbers, but /dev/random giving only errors. (This was because /dev/random was a reserved device, and /dev/srandom of OpenBSD was like /dev/random of Linux.) So /dev/urandom was better than /dev/random for OpenBSD. This has changed with OpenBSD 4.9 (from May 2011); now /dev/random also gives random numbers. So if some example on Rosetta Code uses /dev/random, I will not care to change it to /dev/urandom. --[[User:Kernigh|Kernigh]] 04:47, 8 May 2011 (UTC)
 
feels like this is all outdated now. please, read my comment below! 😘 --[[User:Cregox|cregox]] ([[User talk:Cregox|talk]]) 11:13, 5 January 2021 (UTC)
 
==Libraries and features==
Line 16 ⟶ 18:
in #pearl someone said:
 
>: Whether /dev/urandom is good enough for cryptographic work is debated, though on most UNIX systems it is at least as good as the Win32 Crypto API.
 
that's also what came up on the summary i found on duck when searching for `kotlin dev/urandom`.
Line 25 ⟶ 27:
 
feels like a "global warming" debate, if john oliver knows what i mean.
 
--[[User:Cregox|cregox]] ([[User talk:Cregox|talk]]) 11:10, 5 January 2021 (UTC)
Anonymous user