> randomness as you need. But I do not know how to do this on
> win32 and wince. The current implementation seeds the random
As Michael already suggested, you should use the CryptoAPI
(CryptAquireContext, CryptGenRandom). This API is supported by all 32
bit desktop versions and by Windows CE
I'm not sure if this helps, but QueryPerformanceCounter could be
a source of semirandom 64-bit integers. It returns the processors
running time in nanoseconds. I'm not aware of anything, which returns
really random values.
On Windows itself you could use the CryptAcquireContext, CryptGenRandom
2 matches
Mail list logo