When using a random number generator for shuffling, be wary of simple issues. Using cards as an example:
- If the seed is 32 bits, you’ll get at most \(2^{32}\) permutations, which is much less than \(52!\) for a uniform shuffling of a deck of cards.
- If your seed uses the clock, that may reduce the number of permutations even further.