public final class Random extends Object
SecureRandom.| Modifier and Type | Method and Description |
|---|---|
static byte[] |
randBytes(int size)
Returns a random byte array of size
size. |
static int |
randInt()
Returns a random int.
|
static int |
randInt(int max)
Returns a random int between 0 and max-1.
|