Returns a SecureRandom
object that was selected by using
the algorithms/providers specified in the
securerandom.strongAlgorithms
Security
property.
Some situations require strong random values, such as when
creating high-value/long-lived secrets like RSA public/private
keys. To help guide applications in selecting a suitable strong
SecureRandom
implementation, Java distributions
include a list of known strong SecureRandom
implementations in the securerandom.strongAlgorithms
Security property.
Every implementation of the Java platform is required to
support at least one strong SecureRandom
implementation.
SecureRandom
implementation as indicated
by the securerandom.strongAlgorithms
Security property
NoSuchAlgorithmException | if no algorithm is available |
Security.getProperty(String)
Diagram: Random