2 ms·
My comments were not specific to C. They were a general statement about runtime library provided random number functions across all languages - a risk to be awa
by barrkel 13y ago
My comments were not specific to C. They were a general statement about runtime library provided random number functions across all languages - a risk to be aware of.
There are other mitigations. For example, Java's RNG uses an LCG, but returns the high 32 bits and uses a 48-bit modulus to counter this weakness.