Y
Hacker News
new
|
ask
|
show
|
jobs
by
LoganDark
783 days ago
I would recommend keeping one handle open to /dev/urandom rather than opening and closing a new one every single time you generate a new random number.
1 comments
SAI_Peregrinus
782 days ago
Or use the getrandom() syscall.
link