RE: question about seeding the PRNG, plz help!

2003-06-19 Thread David Schwartz
> > Linux should have /dev/urandom and Windows should have CryptGenRandom > Is CryptGenRandom suitable? I haven't heard anyone authoritatively > say "yes, it's as good as the Linux /dev/urandom" anywhere. It is supposedly suitable, that is, Microsoft claims it is. > > You can take

Re: question about seeding the PRNG, plz help!

2003-06-19 Thread Brian Hatch
> Linux should have /dev/urandom and Windows should have CryptGenRandom Is CryptGenRandom suitable? I haven't heard anyone authoritatively say "yes, it's as good as the Linux /dev/urandom" anywhere. > You can take anything that is unpredictable and use it. What's the exact > time, to the

RE: question about seeding the PRNG, plz help!

2003-06-19 Thread David Schwartz
> I posted this message few days ago, haven't got any feedback yet. Since I > don't know anywhere else I can ask this, I'm posting it again. Please > help: > > I just wrote a program using OpenSSL crypto library (version 0.9.7b). > Everything works fine. But I have concerns about whether I should

Re: question about seeding the PRNG, plz help!

2003-06-19 Thread Brian Hatch
> Unless you're very concerned about entropy, I'd be happy with the > stuff that OpenSSL finds on it's own. I haven't looked at the source recently - what sources are searched on Windows by default? In the environments I'm used to, the screen is static (the machine is headless anyway) and the pr

Re: question about seeding the PRNG, plz help!

2003-06-19 Thread Brian Hatch
> In my program, I have calls to RSA_generate_key and also RAND_bytes which > is used to generate a DES key. It's obvious that these functions require > source of randomness, and in the documentation it also said to seed the > PRNG before calling them. However, because I couldn't figure out exa

Re: question about seeding the PRNG, plz help!

2003-06-19 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Thu, 19 Jun 2003 13:40:19 -0700 (PDT), Michelle Li <[EMAIL PROTECTED]> said: xiaowei> I just wrote a program using OpenSSL crypto library (version xiaowei> 0.9.7b). Everything works fine. But I have concerns about xiaowei> whether I should seed the PRNG and exact

question about seeding the PRNG, plz help!

2003-06-19 Thread Michelle Li
Hi all, I posted this message few days ago, haven't got any feedback yet. Since I don't know anywhere else I can ask this, I'm posting it again. Please help: I just wrote a program using OpenSSL crypto library (version 0.9.7b). Everything works fine. But I have concerns about whether I should

question about seeding the PRNG

2003-06-11 Thread Michelle Li
Hi all, I just wrote a program using OpenSSL crypto library (version 0.9.7b). Everything works fine. But I have concerns about whether I should seed the PRNG and exactly how to do that. In my program, I have calls to RSA_generate_key and also RAND_bytes which is used to generate a DES key. It'