|
|
|
|
|
by pjbringer
4210 days ago
|
|
This exact problem had me worried when I heard about OpenBSD's arc4random, and how they've been promoting a pervasive use of it. I haven't taken the time to look at how they solve the problem of contention, while still maximizing the unpredictability of the random number generator's state by using it. |
|
arc4random() is simply a locking wrapper for the underlying rng.