Race Conditions == Random Number Generation 12 years ago
generator.c:
// For each byte in the buffer, use its value to index into another
// byte and XOR the two.
This seems to be the only mixing that happens in the entire algorithm, after the initial rand seeding.I'm not a cryptographer, but this smells extremely insecure to me. If the random seed is all zeroes this generator will generate all zeroes for perpetuity, no?
Even if you get a decent initial seed, I still strongly suspect this RNG strategy will be very statistically leaky, will tend to equilibria, and will generally be easily breakable in practice. An RGB visualization in the context of RNG means next to nothing.
Please children, don't do your own crypto.