The Oracle Commerce Platform includes a component you can use to generate secure random numbers. This component, with a Nucleus address of /atg/dynamo/service/random/SecureRandom
, can generate random numbers more efficiently than the Java class, java.security.SecureRandom
, as it provides the random number generator with a random seed, rather than using the slower process of Java’s SeedGenerator
.
You can configure the SecureRandom
service using another component, /atg/dynamo/service/random/SecureRandomConfiguration
. The SecureRandomConfiguration
component can configure the behavior of the SecureRandom
service with these properties:
Property | Description | Default Values |
---|---|---|
| The secure random algorithm to use. |
|
| The security provider supplying |
|
| The Oracle Commerce Platform generates a seed value for the random number generator when your application starts up. If the |
|
For more information, read the Java security architecture documentation, including the JavaDoc for java.security.SecureRandom
.