SecureRandom is a Java class that provides a cryptographically strong random number generator (RNG).
SecureRandom is a Java class that provides a cryptographically strong random number generator (RNG).
A cryptographically strong random number minimally complies with the statistical random number generator tests specified in FIPS 140-2, Security Requirements for Cryptographic Modules, section 4.9.1. Additionally, SecureRandom must produce non-deterministic output. Therefore any seed material passed to a SecureRandom object must be unpredictable, and all SecureRandom output sequences must be cryptographically strong, as described in RFC 1750: Randomness Recommendations for Security.
http://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html