SecureRandomAlgorithm
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
Specifies the SecureRandom number generation algorithm used for secure seeding with
implementations of JDK 8 or higher when the RandomGenerator connection property is set to
secureRandom.
Valid Values
algorithm_name
where:
- algorithm_name
- is the name of a SecureRandom number generation algorithm supported by the JDK packaged with your database management system.
Example
The connection property is a key-value pair with the name of the SecureRandom number
generation algorithm written as a string, for example,
SecureRandomAlgorithm=SHA1PRNG.
Notes
- SecureRandomAlgorithm can only be used with implementations of JDK 8 or higher when
RandomGenerator is set to
secureRandom. IfRandomGenerator=secureRandomand no value is specified for SecureRandomAlgorithm, the SHA1PRNG algorithm is used for secure seeding. - When establishing a connection with a connection string, RandomGenerator and SecureRandomAlgorithm should precede the User and Password connection properties in the connection URL. When using a data source connection, RandomGenerator and SecureRandomAlgorithm should be set before making calls to setUser(), setPassword(), or setNewPassword().
- Refer to your database management system documentation to see which SecureRandom number generation algorithms are included in the JDK packaged with your system. Additional information is also available on the Java Cryptography Architecture Standard Algorithm Name Documentation for JDK 8 Web page.
Default
None
Data Type
String