Class SecureRandomProvider
java.lang.Object
com.inductiveautomation.ignition.common.util.SecureRandomProvider
- 
Method SummaryModifier 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
- 
generateSeedpublic byte[] generateSeed(int numBytes) 
- 
nextBytespublic void nextBytes(byte[] bytes) 
- 
nextLongpublic long nextLong()
- 
nextIntpublic int nextInt()
- 
nextIntpublic int nextInt(int n) 
- 
nextUUIDCreates a new random UUID using the safely-generated SecureRandom
 
-