Class SecureRandomProvider
java.lang.Object
com.inductiveautomation.ignition.common.util.SecureRandomProvider
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
generateSeed
(int numBytes) static SecureRandomProvider
get()
static void
void
nextBytes
(byte[] bytes) int
nextInt()
int
nextInt
(int n) long
nextLong()
nextUUID()
Creates a new random UUID using the safely-generated SecureRandom
-
Method Details
-
initialize
- Throws:
NoSuchAlgorithmException
-
get
-
getSecureRandom
-
generateSeed
public byte[] generateSeed(int numBytes) -
nextBytes
public void nextBytes(byte[] bytes) -
nextLong
public long nextLong() -
nextInt
public int nextInt() -
nextInt
public int nextInt(int n) -
nextUUID
Creates a new random UUID using the safely-generated SecureRandom
-