Configuring random number generator secure seeding
- Last Updated: August 22, 2024
- 2 minute read
- DataDirect Connectors
- JDBC
- Oracle Database 6.0
- 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. If you select a
cryptographically strong number generation algorithm, 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.