Serializable
public class SecureRandom extends Random
Modifier | Constructor | Description |
---|---|---|
|
SecureRandom() |
|
|
SecureRandom(byte[] var0) |
|
protected |
SecureRandom(SecureRandomSpi var0,
Provider var1) |
Modifier and Type | Method | Description |
---|---|---|
byte[] |
generateSeed(int var0) |
|
static SecureRandom |
getInstance(String var0) |
|
static SecureRandom |
getInstance(String var0,
String var1) |
|
static SecureRandom |
getInstance(String var0,
Provider var1) |
|
Provider |
getProvider() |
|
static byte[] |
getSeed(int var0) |
|
protected int |
next(int var0) |
|
void |
setSeed(byte[] var0) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed
public SecureRandom()
protected SecureRandom(SecureRandomSpi var0, Provider var1)
public SecureRandom(byte[] var0)
public byte[] generateSeed(int var0)
public static SecureRandom getInstance(String var0) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static SecureRandom getInstance(String var0, String var1) throws NoSuchAlgorithmException, NoSuchProviderException
public static SecureRandom getInstance(String var0, Provider var1) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public final Provider getProvider()
public static byte[] getSeed(int var0)
public void setSeed(byte[] var0)