Re:Linux /dev/urandom and concurrency
by jerf on Friday April 18, 2014 @04:32PM
(#7611156)
Yes, it should be fixed. Yes, it's still a "misdesign" to use the cryptographic random number generator when you just want "a" psuedo-random number, right now. For choosing which of the several DNS answers you use, you could pretty much get away with keeping a counter and returning that counter modulo the number of choices. It's technically wrong for several reasons, but you could get away with it. That's how low-impact this random number usage is. Using a cryptographically secure random number generator for that is always going to be overkill for such a task.
[ Parent
| on HN ]
There are no comments on this comment yet.