Class SecretGenerator


  • public class SecretGenerator
    extends Object
    • Field Detail

      • UPPER

        public static final char[] UPPER
      • DIGITS

        public static final char[] DIGITS
      • ALPHANUM

        public static final char[] ALPHANUM
    • Method Detail

      • randomString

        public String randomString()
      • randomString

        public String randomString​(int length)
      • randomString

        public String randomString​(int length,
                                   char[] symbols)
      • randomBytes

        public byte[] randomBytes()
      • randomBytes

        public byte[] randomBytes​(int length)