2011-08-06, 01:31 AM
Not built-in, no. You could use the Mersenne Twister which, I believe, is built into Boost.
rand() is not a function that is suitable for cryptographic purposes anyway. Most programs use epoch time to seed the generator. Attackers can use that information to gain more information about the program or force an unrandom state.
rand() is not a function that is suitable for cryptographic purposes anyway. Most programs use epoch time to seed the generator. Attackers can use that information to gain more information about the program or force an unrandom state.
