in reply to Best random number
The "BEST" PRNG, since you ask, is yarrow.
The Win32 function CryptGenRandom claims to be cryptographically quality. I'd use that as one source of entropy around a known implementation. Another thing that works on Windows boxes is to access the cycle counter of the CPU. The least significant bits will be "random" and a good entropy source, checked in your main dispatch loop or something like that.
—John
|
|---|