Re: Generating random keys/data on Windows

2012-05-14 Thread Web Developer
Thanks for the help Jakob. To make sure I understand this right: Do I need to seed the PRNG on Windows explicitly then? OR is it seeded transparently as it is for Linux/Unix platforms? If I do need to seed it explicitly then should I use RAND_screen() or RAND_event() function? The (outdated)

Re: Generating random keys/data on Windows

2012-05-13 Thread jb-openssl
On 13-05-2012 04:09, Web Developer wrote: Hey guys, I need to generate random data (for keys, IVs etc.) but I can't seem to find the right way to do it. Here is the background - I am developing my server in c/c++ on windows using visual studio and am using the openssl1.0.1c library. I was

Generating random keys/data on Windows

2012-05-12 Thread Web Developer
Hey guys, I need to generate random data (for keys, IVs etc.) but I can't seem to find the right way to do it. Here is the background - I am developing my server in c/c++ on windows using visual studio and am using the openssl1.0.1c library. I was reading the documentation for random data