Argon2 class
Argon2 key derivation function implementation
Constructors
- Argon2()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
deriveKey(
String password, String salt, {Argon2Variant variant = Argon2Variant.argon2id}) → Future< String> - Derives a key using Argon2 with default parameters
-
deriveKeyBytes(
String password, String salt, {int t = _defaultT, int m = _defaultM, int p = _defaultP, int dkLen = _defaultDkLen, Argon2Variant variant = Argon2Variant.argon2id}) → Future< Uint8List> - Derives a key using Argon2 with custom parameters