Re: Entropy sources under WinXP



On 5/18/2007 2:51 AM, keith@xxxxxxxxxxxxxxxxxx wrote:
If one has a non-interactive application[1] running under WinXP with
no hardware TRNG attached, what are reasonable sources of entropy for,
say, seeding PRNGs? I know some use the Pentium Time-Stamp Counter,
but that's going to be a lot less than 64 bits. Where else can I find
a decent source?

1. So mouse movements, keyboard timings, etc are out.

You can use CryptGenRandom to generate random numbers, or directly read
the registry value HKLM\Software\Microsoft\Cryptography\RNG\Seed.

--Mark

.



Relevant Pages

  • Re: Entropy sources under WinXP
    ... no hardware TRNG attached, what are reasonable sources of entropy for, ... say, seeding PRNGs? ... I know some use the Pentium Time-Stamp Counter, ... If your app has internet access then ...
    (sci.crypt)
  • Re: Entropy sources under WinXP
    ... no hardware TRNG attached, what are reasonable sources of entropy for, ... I know some use the Pentium Time-Stamp Counter, ... If it is really important enough to need high entropy, then it is important enough to do it right. ...
    (sci.crypt)
  • Re: Entropy sources under WinXP
    ... no hardware TRNG attached, what are reasonable sources of entropy for, ... Linux uses hard disk timings, network timings and carefully extracts the ... useable bits of entropy. ... clock reading are really bad since they are highly correleated if you read ...
    (sci.crypt)
  • Entropy sources under WinXP
    ... no hardware TRNG attached, what are reasonable sources of entropy for, ... say, seeding PRNGs? ...
    (sci.crypt)

Quantcast