java.security.SecureRandom using BoringSSL's RAND interface.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected byte[] | engineGenerateSeed(int
the number of seed bytes to generate. numBytes)Implements abstract java. |
| protected void | engineNextBytes(byte[]
the array to be filled in with random bytes. bytes)Implements abstract java. |
| protected void | engineSetSeed(byte[]
the seed. seed)Implements abstract java. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| OpenSSLRandom | back to summary |
|---|---|
| public OpenSSLRandom() | |
| engineGenerateSeed | back to summary |
|---|---|
| protected byte[] engineGenerateSeed(int numBytes) Implements abstract java. Doc from java. Returns the given number of seed bytes. This call may be used to seed other random number generators.
| |
| engineNextBytes | back to summary |
|---|---|
| protected void engineNextBytes(byte[] bytes) Implements abstract java. Doc from java. Generates a user-specified number of random bytes.
Some random number generators can only generate a limited amount
of random bytes per invocation. If the size of
| |
| engineSetSeed | back to summary |
|---|---|
| protected void engineSetSeed(byte[] seed) Implements abstract java. Doc from java. Reseeds this random object with the given seed. The seed supplements, rather than replaces, the existing seed. Thus, repeated calls are guaranteed never to reduce randomness.
| |