Class SecureRandomUtils


  • public final class SecureRandomUtils
    extends Object
    • Method Detail

      • generateRandomPassword

        public static String generateRandomPassword​(int tokenLength)
      • generateRandomLetter

        public static String generateRandomLetter()
      • generateRandomLetters

        public static String generateRandomLetters​(int length)
      • generateRandomNumber

        public static String generateRandomNumber()
      • generateRandomNonAlphanumericChar

        public static String generateRandomNonAlphanumericChar​(char[] characters)
      • generateRandomInt

        public static int generateRandomInt​(int startInclusive,
                                            int endExclusive)
      • generateRandomUUID

        public static UUID generateRandomUUID()
      • passwordGenerator

        public static org.passay.PasswordGenerator passwordGenerator()