Package com.goterl.lazysodium.interfaces
Class PwHash.Checker
java.lang.Object
com.goterl.lazysodium.utils.BaseChecker
com.goterl.lazysodium.interfaces.PwHash.Checker
- Enclosing interface:
- PwHash
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckHashStrInput(byte[] hashStrBytes) static voidcheckHashStrOutput(byte[] outputStr) static voidcheckLengthOfHash(int lengthOfHash) static voidcheckLengthOfPassword(int lengthOfPassword) static voidcheckMemLimit(com.sun.jna.NativeLong memLimit) static voidcheckOpsLimit(long opsLimit) static voidcheckPassword(byte[] password) static voidcheckSalt(byte[] salt) Methods inherited from class com.goterl.lazysodium.utils.BaseChecker
checkArrayLength, checkAtLeast, checkBetween, checkBetween, checkEqual, checkExpectedMemorySize, checkOptionalArrayLength, checkOptionalOutPointer, checkOptionalOutPointer, correctLen, isBetween, requireNonNull
-
Method Details
-
checkLengthOfHash
public static void checkLengthOfHash(int lengthOfHash) -
checkHashStrOutput
public static void checkHashStrOutput(byte[] outputStr) -
checkPassword
public static void checkPassword(byte[] password) -
checkLengthOfPassword
public static void checkLengthOfPassword(int lengthOfPassword) -
checkSalt
public static void checkSalt(byte[] salt) -
checkOpsLimit
public static void checkOpsLimit(long opsLimit) -
checkMemLimit
public static void checkMemLimit(com.sun.jna.NativeLong memLimit) -
checkHashStrInput
public static void checkHashStrInput(byte[] hashStrBytes)
-