Pwhash class abstract
A meta class that provides access to all libsodium pwhash APIs.
This class provides the dart interface for the crypto operations documented in https://libsodium.gitbook.io/doc/password_hashing/default_phf. Please refer to that documentation for more details about these APIs.
Properties
- bytesMax → int
-
Provides crypto_pwhash_BYTES_MAX.
no setter
- bytesMin → int
-
Provides crypto_pwhash_BYTES_MIN.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- memLimitInteractive → int
-
Provides crypto_pwhash_MEMLIMIT_INTERACTIVE.
no setter
- memLimitMax → int
-
Provides crypto_pwhash_MEMLIMIT_MAX.
no setter
- memLimitMin → int
-
Provides crypto_pwhash_MEMLIMIT_MIN.
no setter
- memLimitModerate → int
-
Provides crypto_pwhash_MEMLIMIT_MODERATE.
no setter
- memLimitSensitive → int
-
Provides crypto_pwhash_MEMLIMIT_SENSITIVE.
no setter
- opsLimitInteractive → int
-
Provides crypto_pwhash_OPSLIMIT_INTERACTIVE.
no setter
- opsLimitMax → int
-
Provides crypto_pwhash_OPSLIMIT_MAX.
no setter
- opsLimitMin → int
-
Provides crypto_pwhash_OPSLIMIT_MIN.
no setter
- opsLimitModerate → int
-
Provides crypto_pwhash_OPSLIMIT_MODERATE.
no setter
- opsLimitSensitive → int
-
Provides crypto_pwhash_OPSLIMIT_SENSITIVE.
no setter
- passwdMax → int
-
Provides crypto_pwhash_PASSWD_MAX.
no setter
- passwdMin → int
-
Provides crypto_pwhash_PASSWD_MIN.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saltBytes → int
-
Provides crypto_pwhash_SALTBYTES.
no setter
- strBytes → int
-
Provides crypto_pwhash_STRBYTES.
no setter
Methods
-
call(
{required int outLen, required Int8List password, required Uint8List salt, required int opsLimit, required int memLimit, CryptoPwhashAlgorithm alg = CryptoPwhashAlgorithm.defaultAlg}) → SecureKey - Provides crypto_pwhash.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
str(
{required String password, required int opsLimit, required int memLimit}) → String - Provides crypto_pwhash_str.
-
strNeedsRehash(
{required String passwordHash, required int opsLimit, required int memLimit}) → bool - Provides crypto_pwhash_str_needs_rehash.
-
strVerify(
{required String passwordHash, required String password}) → bool - Provides crypto_pwhash_str_verify.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited