Hello, > I want to generate a large random bitstream witch is deterministic > (given a certain seed). > If for example, if I have 2 diffrent programs running, both possessing > the same session key. > I seed the generator in both applications with this session key. > Both applications should receive the same random bitstream. > > I've tested RAND_bytes() and RAND_pseudo_bytes(), but they keep giving > diffrent bitstreams... > Is there a certain method I have to set, to get the "pseudo" random > stream I want to get ? > Or am I using the wrong methods/functions ? > > Your tips and help are appreciated! This is not possible with software implementation of PRNG used by RAND_bytes() and RAND_pseudo_bytes() because internal PRNG state is updated at seeding and from time to time with some additional data like process PID, time, display data (windows) ...
Best regards, -- Marek Marcola <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
