Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
alaaibrahim
on July 24, 2015
|
parent
|
context
|
favorite
| on:
A call to PHP's mt_rand generates only odd numbers
You do understand that urandom does not block waiting for entropy, I think you are confusing /dev/random and /dev/urandom.
$ man urandom
rurban
on July 26, 2015
[–]
Yes, I said "drain", not "block". /dev/random needs to wait, /dev/urandom just goes on creating worse numbers.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: