public class OpenSslAesCtrRandom
extends java.security.SecureRandom
Constructor and Description |
---|
OpenSslAesCtrRandom() |
Modifier and Type | Method and Description |
---|---|
byte[] |
generateSeed(int numbytes)
Generates a seed value from OS source.
|
static boolean |
isEnabled()
Checks if the library is in a usable state.
|
void |
nextBytes(byte[] bytes) |
void |
reseedPrng(byte[] carryover)
Reseeds the PRNG.
|
getAlgorithm, getInstance, getInstance, getInstance, getInstanceStrong, getProvider, getSeed, next, setSeed, setSeed
public void nextBytes(byte[] bytes)
nextBytes
in class java.security.SecureRandom
public void reseedPrng(byte[] carryover)
public byte[] generateSeed(int numbytes)
generateSeed
in class java.security.SecureRandom
public static final boolean isEnabled()