Re: Random Number Generation in openssl

2006-04-24 Thread Marek Marcola
Hello, > The man page clearly mentions that. > > Add RAND_seed() or RAND_add() with the required > entropy required before calling RAND_bytes(). In a > pseudorandom number generator the seed uniquely > determines the random sequence. So you might want to > vary the seed somehow using getpid() o

Re: Random Number Generation in openssl

2006-04-24 Thread Girish Venkatachalam
Random number generation always depends on the PRNG being seeded first. The man page clearly mentions that. Add RAND_seed() or RAND_add() with the required entropy required before calling RAND_bytes(). In a pseudorandom number generator the seed uniquely determines the random sequence. So you

RE: Random Number Generation in openssl

2006-04-24 Thread Ambarish Mitra
This worked..Thanks a million. :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Allan E. Johannesen Sent: Monday, April 24, 2006 6:32 PM To: openssl-users@openssl.org Subject: Random Number Generation in openssl > "ambarish_mitra" == Ambarish Mitra

RE: Random number generation

2001-09-27 Thread Ryan Hurst
If you are looking for a software based solution the OpenSSL PRNG library is good. There any many interesting software solutions for gathering seed for the PRNG as well, egd.pl will use a plethora of system information (on unix) to provide seed. However hardware based entropy solutions are a bett

Re: Random number generation

2001-09-27 Thread crispin
On Thu, Sep 27, 2001 at 03:18:49PM +0600, Ashada Karunaratna wrote: > I am looking for an powerful random number generation library for an > application. Is open ssl has such library. ( not pseudo random generations ) > Is anyone know ? If your under Unix, why not use /dev/random or /dev/urandom

Re: Re: Random number generation

2000-11-21 Thread Lutz Jaenicke
On Mon, Nov 20, 2000 at 07:24:07PM +0100, Wolfgang Häfelinger wrote: > Hi, > since I have the same problem and since there is almost no useful > documentation available, what I'm supposed to do if there is > /dev/random but it blocks? Note: Don't have /dev/urandom. If you need a nonblockin

Re: Re: Random number generation

2000-11-20 Thread Tim Newsham
> Hi, > since I have the same problem and since there is almost no useful > documentation available, what I'm supposed to do if there is > /dev/random but it blocks? Note: Don't have /dev/urandom. you can read as much as is available, with a non-blocking file descriptor or with FIONREAD. If

Re: Re: Random number generation

2000-11-20 Thread Wolfgang=20H=E4felinger
Hi, since I have the same problem and since there is almost no useful documentation available, what I'm supposed to do if there is /dev/random but it blocks? Note: Don't have /dev/urandom. Btw, is there any useful documentation around or in progress? Bye, Wolfgang. [EMAIL PROTECTED] schri

Re: Random number generation

2000-11-20 Thread Tim Newsham
> Hi, > > I am a complete novice when it comes to SSL and I have had to = > incorporate OpenSSL into my project through use of a CORBA ORB I am = > using. > > I have been advised that I need a random number generator to use = > OpenSSL. Is this true, and if so why? I am just trying to understand

RE: Random number generation

2000-11-19 Thread David Schwartz
OpenSSL contains a PRNG that just needs a few random numbers to get it started. If you're not familiar with what a cryptographically-secure random number generator is, why they're necesary, or how to seed them, I suggest you get someone who is familiar with cryptography to do your crypto

Re: Random Number Generation

1999-03-10 Thread Sampo Kellomaki
"Pavan Auman" <[EMAIL PROTECTED]> writes: > I have installed openssl and Net::SSLeay, but my Solaris 2.6 platform = > does not have /dev/random or /dev/urandom. Is there any way that I can = > still seed the RNG without these tools? This question reduces to: Is there any way to obtain random num