DartArgon2id class
Argon2id implemented in pure Dart.
- Inheritance
-
- Object
- KdfAlgorithm
- Argon2id
- DartArgon2id
Constructors
- DartArgon2id({required int parallelism, required int memorySize, required int iterations, required int hashLength})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hashLength → int
-
Hash length.
final
- iterations → int
-
Number of iterations.
final
- memorySize → int
-
Minimum number of bytes attacker needs to store in memory for each
attempt.
final
- parallelism → int
-
Maximum number of processors attacker can use concurrently for each
attempt.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → int
-
Argon2id algorithm version number.
no setterinherited
Methods
-
deriveKey(
{required SecretKey secretKey, required List< int> nonce, List<int> k = const <int>[], List<int> ad = const <int>[]}) → Future<SecretKey> -
Calculates output of Argon2id algorithm.
override
-
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