Even though rand() may be a good enough random number generator for making a video game, the patterns of random bits it spits out may not be sufficient for applications requiring truly random data.
A crucial component for secure encryption is having a random number you can use as the key to protect your sensitive data. Generating one, however, is harder than it may seem because randomness is one ...