Quote (Reverence @ Mar 25 2013 03:24pm)
of course i found that description, but i'm trying to understand how they work - to learn why it's not good to use rand() on its own, what the significance of the seed is, etc.
if you are doing cryptography or anything else that needs randomness you are better off reading from /dev/random or /dev/urandom. those are files that are very random and created by hardware instead of software.
rand() can actually be predicted if you know the initial seed value.