Class SecureRandomProvider
java.lang.Object
com.inductiveautomation.ignition.common.util.SecureRandomProvider
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]generateSeed(int numBytes) static SecureRandomProviderget()static voidvoidnextBytes(byte[] bytes) intnextInt()intnextInt(int n) longnextLong()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
-