2011-08-06, 04:20 PM
Fiel Wrote: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.
lol... I've been using it for my algorithms cryptography assignment. Although that is just a test program that will never be used for any real application. It's annoying that there is no better way of generating random numbers built into C/C++. (Although I guess it'd be really really hard to do)

