News for hackers. Stuff that matters.
Re:The definitive guide to “modulo bias” and how to avoid it... by anomalroil on Thursday September 15, 2022 @10:04AM (#32852184)
As you said: Java's Random is not meant for serious cryptographic usage, it's meant to be super fast. You have SecureRandom instead for cryptographic usage, and it's noticeably slower. Interestingly, using fast, but bad random generators such as Java's Random was shown to be an issue multiple times in the past already for things such as Monte Carlo, and so on, not just for things related to security.

There are no comments on this comment yet.