public class InsecureRandom extends SecureRandom
| Constructor and Description |
|---|
InsecureRandom() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
generateSeed(int numBytes) |
String |
getAlgorithm() |
boolean |
nextBoolean() |
void |
nextBytes(byte[] bytes) |
double |
nextDouble() |
float |
nextFloat() |
double |
nextGaussian() |
int |
nextInt() |
int |
nextInt(int n) |
long |
nextLong() |
void |
setSeed(byte[] seed) |
void |
setSeed(long seed) |
getInstance, getInstance, getInstance, getInstanceStrong, getProvider, getSeedpublic String getAlgorithm()
getAlgorithm in class SecureRandompublic void setSeed(byte[] seed)
setSeed in class SecureRandompublic void setSeed(long seed)
setSeed in class SecureRandompublic void nextBytes(byte[] bytes)
nextBytes in class SecureRandompublic byte[] generateSeed(int numBytes)
generateSeed in class SecureRandompublic boolean nextBoolean()
nextBoolean in class Randompublic double nextDouble()
nextDouble in class Randompublic double nextGaussian()
nextGaussian in class RandomCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.