public static SecureRandom getInstanceStrong () throws NoSuchAlgorithmException

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.

Returns:  a strong SecureRandom implementation as indicated by the securerandom.strongAlgorithms Security property

Exceptions:
NoSuchAlgorithmException    if no algorithm is available

See also:
Security.getProperty(String)

Since:  1.8