Choosing random numbers efficiently

You can try using an existing Java implementation (or this one) for a Mersenne Twister.

Keep in mind most MT’s are not cryptographically secure.

Leave a Comment