-
public final class PwHash.Checker extends BaseChecker
-
-
Method Summary
Modifier and Type Method Description static voidcheckLengthOfHash(int lengthOfHash)static voidcheckHashStrOutput(Array<byte> outputStr)static voidcheckPassword(Array<byte> password)static voidcheckLengthOfPassword(int lengthOfPassword)static voidcheckSalt(Array<byte> salt)static voidcheckOpsLimit(long opsLimit)static voidcheckMemLimit(NativeLong memLimit)static voidcheckHashStrInput(Array<byte> hashStrBytes)-
Methods inherited from class com.goterl.lazysodium.utils.BaseChecker
checkArrayLength, checkAtLeast, checkBetween, checkBetween, checkEqual, checkExpectedMemorySize, checkOptionalArrayLength, checkOptionalOutPointer, checkOptionalOutPointer, correctLen, isBetween, requireNonNull -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
checkLengthOfHash
static void checkLengthOfHash(int lengthOfHash)
-
checkHashStrOutput
static void checkHashStrOutput(Array<byte> outputStr)
-
checkPassword
static void checkPassword(Array<byte> password)
-
checkLengthOfPassword
static void checkLengthOfPassword(int lengthOfPassword)
-
checkOpsLimit
static void checkOpsLimit(long opsLimit)
-
checkMemLimit
static void checkMemLimit(NativeLong memLimit)
-
checkHashStrInput
static void checkHashStrInput(Array<byte> hashStrBytes)
-
-
-
-