public class SecureRandomProvider
extends java.lang.Object
Constructor and Description |
---|
SecureRandomProvider() |
Modifier and Type | Method and Description |
---|---|
byte[] |
generateSeed(int numBytes) |
static SecureRandomProvider |
get() |
void |
nextBytes(byte[] bytes) |
int |
nextInt() |
int |
nextInt(int n) |
long |
nextLong() |
java.util.UUID |
nextUUID()
Creates a new random UUID using the safely-generated SecureRandom
|
public static SecureRandomProvider get()
public byte[] generateSeed(int numBytes)
public void nextBytes(byte[] bytes)
public long nextLong()
public int nextInt()
public int nextInt(int n)
public java.util.UUID nextUUID()