Re: Fixing RNG in Microsoft Windows?

From: chu (chudel@carolina.rr.com)
Date: 05/17/02


From: chudel@carolina.rr.com (chu)
Date: 16 May 2002 18:54:35 -0700


Yama@yomama.com (Yama) wrote in message news:<3ce2b1ef.61131131@news-central.giganews.com>...
> On 15 May 2002 09:59:04 -0700, chudel@carolina.rr.com (chu) wrote:

> >Thanks for this good answer. I wonder if this may be part of the
> >OLEInitiatlize calls (do seed the RNG multiple times) which in part
> >may be part of a createuuid/guid? In any case, it's only a guess if
> >the crypto program is using this as the random seed or getting it from
> >another source.
> >
> >Thanks again,
> >./Chu
>
> You are welcome.
>
> I have a lot of interest in this part of the MS Crypto API (CAPI),
> particularly the CryptGenRandom call.
>
> I have had no luck whatsoever determining the strength or entropy of
> this call or the PRNG in general.
>
> If you or anyone has any info on the relative entropy of this PRNG
> (without seeding manually) I would be very interested.
>
> Also, I'd be very interested to know if I make the CryptGenRandom call
> and seed it with a very low entropy value number, does this weaken the
> call to the entropy of the my seed or merely increase the strength by
> an extremely small factor (the entropy value of the call + the entropy
> value of my seed)?
>
This just shows my ignorance, but I'm happy to learn from the smarter
sci.crypt community. I would have thought you could just as easily
use something like CoCreateGuid that generates a "universally unique"
id number and then take an md5 or sha hash of that - shouldn't that be
quite random?

For my entropy tests, I run a program called "ent"
(http://www.fourmilab.ch/random/). Although to be honest, in my (very
limited poor and weak) cryptanalysis experience, I'm really just
looking to verify if something is "mostly random", not truely so. :)

Cheers,
./Chu

c h u d e l - at - b e l l s o u t h -dot- n e t



Relevant Pages

  • Re: Fixing RNG in Microsoft Windows?
    ... >>>the crypto program is using this as the random seed or getting it from ... >> If you or anyone has any info on the relative entropy of this PRNG ... >> call to the entropy of the my seed or merely increase the strength by ...
    (microsoft.public.win2000.security)
  • Re: Raatikainens critique of Chaitin
    ... entropy is a real number. ... >> a theory is very loose. ... have higher algorithmic complexity than the axioms. ... the connection between entropy and strength is very loose. ...
    (sci.math)
  • Re: Raatikainens critique of Chaitin
    ... entropy is a real number. ... >> a theory is very loose. ... have higher algorithmic complexity than the axioms. ... the connection between entropy and strength is very loose. ...
    (comp.theory)
  • Re: new /dev/random
    ... For a proper PRNG, with the assumption that the algorithms are robust, ... is said to contain 40 bits of entropy if I could, ... If I want to attack a stream of 56 bits produced by a PRNG with a seed ... RNG resistance therefore relies on the same two classes of assumptions ...
    (sci.crypt)
  • Re: new /dev/random
    ... > is said to contain 40 bits of entropy if I could, ... > efficient attack would be to try the exhaustive search on the seed. ... > than the PRNG: evolution of computer science (the robustness of the ... > because, for a given length of random bits requested, the RNG will have ...
    (sci.crypt)

Quantcast