Y
Hacker News
new
|
ask
|
show
|
jobs
by
aidenn0
759 days ago
You should probably use SRANDOM; less bias from the modulo (32 bits instead of 15) and uses arc4random or /dev/urandom if available.
1 comments
linsomniac
759 days ago
TIL, thanks!
link