dwdyer / uncommons-maths

Random number generators, probability distributions, combinatorics and statistics for Java.
https://maths.uncommons.org
Apache License 2.0
158 stars 40 forks source link

Mersenne Twister not as secure as it seems #12

Open cowwoc opened 10 years ago

cowwoc commented 10 years ago

According to http://security.stackexchange.com/a/59392/5002 Mersenne Twister is vulnerate to attacks. Perhaps you should warn users in the Javadoc and/or http://maths.uncommons.org/ about this fact?

kaspernielsen commented 10 years ago

Isn't it pretty general knowledge that Marsenne Twister is not cryptographically secure? I mean, if people end up with uncommons-math they have already chosen not to use neither Random or SecureRandom