Configuring Random Number Generator Secure Seeding
- Last Updated: May 15, 2020
- 2 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Oracle uses a random number generator for secure seeding when establishing connections. A
random number generator is also used, in a separate seeding process, for Kerberos
authentication. The driver supports random number generator implementations by way of the
RandomGenerator and SecureRandomAlgorithm connection properties. The RandomGenerator
connection property allows you to specify the type of random number generator the database
uses for secure seeding with JDK 7 or higher. If you select a cryptographically strong
number generation algorithm, and if you are using JDK 8 or higher, you can then use the
SecureRandomAlgorithm connection property to specify any number generation algorithm
included in the JDK packaged with your system.
Note: 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().
The following steps outline how to configure a random number generator for secure seeding.