RE: Random number seed in RSA

2004-08-10 Thread sakthi.subramaniam
Title: Message HI.,  You can use /dev/random as a seed generator..I belive that cygwin has the support for /dev/random device..  For that u can use RAND_load_file("/dev/random", no_of_bytes) for programming the seed. or otherwise you can use the static character buffer (rnd_seed)as a seed and

RE : Random number seed in RSA

2004-08-10 Thread Marc Gaudichet
You can also use the RAND_status() function that implicitly calls RAND_poll(). RAND_poll() actually uses memory state, processes, handles, screen state... to initialize the PRNG. If it is not sufficiant (it usually is), you can read some entropy from a file using RAND_read() function. Marc. >