Class SecureRandomProvider

java.lang.Object
com.inductiveautomation.ignition.common.util.SecureRandomProvider

public class SecureRandomProvider extends Object
  • Method Details

    • initialize

      public static void initialize() throws NoSuchAlgorithmException
      Throws:
      NoSuchAlgorithmException
    • get

      public static SecureRandomProvider get()
    • getSecureRandom

      public SecureRandom 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

      public UUID nextUUID()
      Creates a new random UUID using the safely-generated SecureRandom