Class SecureRandomProvider


  • public class SecureRandomProvider
    extends java.lang.Object
    • Method Detail

      • initialize

        public static void initialize()
                               throws java.security.NoSuchAlgorithmException
        Throws:
        java.security.NoSuchAlgorithmException
      • getSecureRandom

        public java.security.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 java.util.UUID nextUUID()
        Creates a new random UUID using the safely-generated SecureRandom