Re: Is there something like /dev/random under Windows?

From: Anton Stiglic (stiglic_at_cs.mcgill.ca)
Date: 12/01/03


Date: Mon, 1 Dec 2003 13:50:35 -0800


"Henrick Hellström" <henrick.hellstrm@telia.com> wrote in message
news:QtIyb.36207$mU6.124647@newsb.telia.net...
> wrong way philbin wrote:
>
> > CryptGenRandom
> >
> >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/cryptgenrandom.asp
>
> I don't know what worries me the most: The fact that they claim to be
> using RC4 as a key stream generator and that the output ought to be
> biased, or the fact that I was unable to detect the characteristic RC4
> bias in the output which means that they must be using at least one
> other algorithm than the one they claim to be using.
>

If you want to use something where you know what is being done, you can
use the "continuously seeded pseudorandom number generator" for windows
which can be found in Cryptlib. This is based on what is described in the
paper "The generation of random numbers for cryptographic purposes" by
Peter Gutmann. It's good stuff. For example GnuPG uses this under
Windows where /dev/random and /dev/urandom are not available.

--Anton



Relevant Pages

  • Re: how these 2 functions may differ?
    ... you not using the encryption functions built in to Windows? ... as far as I know there isn't any .net builtin RC4 ... Windows has RC4 builtin. ... it should have been as simple as calling new CryptoAPITransform ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: cross-realm authentication problem
    ... Windows 2003 only supports RC4 and DES. ... You have to install the Windows 2003 Resource kit*service pack2* to change this setting, using ktpass command: ...
    (comp.protocols.kerberos)
  • Re: Is there something like /dev/random under Windows?
    ... > I don't know what worries me the most: The fact that they claim to be ... > using RC4 as a key stream generator and that the output ought to be ... or the fact that I was unable to detect the characteristic RC4 ...
    (sci.crypt)
  • Re: Is there something like /dev/random under Windows?
    ... I don't know what worries me the most: The fact that they claim to be ... using RC4 as a key stream generator and that the output ought to be ... or the fact that I was unable to detect the characteristic RC4 ...
    (sci.crypt)
  • Re: HKLMSOFTWAREMicrosoftCryptographyRNGSeed registry key
    ... >I was wondering if any here knew what this registry ... >is all about in Windows XP? ... or the output of RC4 would after being ... re-keyed by a hashed random value. ...
    (sci.crypt)

Loading