Class ScramUtil
- java.lang.Object
-
- org.wildfly.security.mechanism.scram.ScramUtil
-
class ScramUtil extends Object
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static byte[]CLIENT_KEY_BYTESprivate static byte[]randomCharDictionary(package private) static byte[]SERVER_KEY_BYTES
-
Constructor Summary
Constructors Constructor Description ScramUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]generateNonce(int length, Random random)static intparsePosInt(org.wildfly.common.iteration.ByteIterator i)(package private) static voidxor(byte[] hash, byte[] input)
-
-
-
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)
-
-