4 ms·
You can use the function RAND_bytes from the OpenSSL library to get cryptographically strong random numbers ( http://www.openssl.org/docs/crypto/RAND_bytes.html
by gus_massa 15y ago
You can use the function RAND_bytes from the OpenSSL library to get cryptographically strong random numbers ( http://www.openssl.org/docs/crypto/RAND_bytes.html# http://www.openssl.org/docs/crypto/RAND_bytes.html# ). I think that it is good enough to get a "different" seed for each instance, but I think that it does not solve the birthday paradox.