Package com.goterl.lazysodium.interfaces
Interface Scrypt.Native
-
- All Known Implementing Classes:
LazySodiumJava
- Enclosing interface:
- Scrypt
public static interface Scrypt.Native
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancryptoPwHashScryptSalsa208Sha256(byte[] out, long outLen, byte[] password, long passwordLen, byte[] salt, long opsLimit, long memLimit)booleancryptoPwHashScryptSalsa208Sha256Ll(byte[] password, int passwordLen, byte[] salt, int saltLen, long N, long r, long p, byte[] buf, int bufLen)booleancryptoPwHashScryptSalsa208Sha256Str(byte[] out, byte[] password, long passwordLen, long opsLimit, long memLimit)booleancryptoPwHashScryptSalsa208Sha256StrNeedsRehash(byte[] hash, long opsLimit, long memLimit)Checks whether the Scrypt hash needs a rehash.booleancryptoPwHashScryptSalsa208Sha256StrVerify(byte[] str, byte[] password, long passwordLen)
-
-
-
Method Detail
-
cryptoPwHashScryptSalsa208Sha256
boolean cryptoPwHashScryptSalsa208Sha256(byte[] out, long outLen, byte[] password, long passwordLen, byte[] salt, long opsLimit, long memLimit)
-
cryptoPwHashScryptSalsa208Sha256Str
boolean cryptoPwHashScryptSalsa208Sha256Str(byte[] out, byte[] password, long passwordLen, long opsLimit, long memLimit)
-
cryptoPwHashScryptSalsa208Sha256StrVerify
boolean cryptoPwHashScryptSalsa208Sha256StrVerify(byte[] str, byte[] password, long passwordLen)
-
cryptoPwHashScryptSalsa208Sha256Ll
boolean cryptoPwHashScryptSalsa208Sha256Ll(byte[] password, int passwordLen, byte[] salt, int saltLen, long N, long r, long p, byte[] buf, int bufLen)
-
cryptoPwHashScryptSalsa208Sha256StrNeedsRehash
boolean cryptoPwHashScryptSalsa208Sha256StrNeedsRehash(byte[] hash, long opsLimit, long memLimit)Checks whether the Scrypt hash needs a rehash.- Parameters:
hash- The Scrypt hash.opsLimit- The operations limit used.memLimit- The memory limit used.- Returns:
- True if the Scrypt hash needs to be rehashed.
-
-