Class ScramUtil

    • Field Detail

      • randomCharDictionary

        private static final byte[] randomCharDictionary
      • CLIENT_KEY_BYTES

        static final byte[] CLIENT_KEY_BYTES
      • SERVER_KEY_BYTES

        static final byte[] SERVER_KEY_BYTES
    • Constructor Detail

      • ScramUtil

        ScramUtil()
    • Method Detail

      • generateNonce

        public static byte[] generateNonce​(int length,
                                           Random random)
      • parsePosInt

        public static int parsePosInt​(org.wildfly.common.iteration.ByteIterator i)
      • xor

        static void xor​(byte[] hash,
                        byte[] input)