Company Blog
Proper use of Java’s SecureRandom
This is a guest post by Amit Sethi, Senior Consultant at Cigital. When generating random numbers in Java for cryptographic purposes, many developers often use the java.security.SecureRandom class. And while the java.security.SecureRandom class is designed to generate cryptographically secure random numbers, there are a few subtleties in the API, and if it is used improperly [...]