DArgon2 class abstract

A class that houses all of the methods to hash and verify a password using the Argon2 password hashing algorithm.

This should be used via the argon2 field.

Implementers

Constructors

DArgon2()

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

hashPasswordBytes(List<int> password, {required Salt salt, int iterations = 32, int memory = 256, int parallelism = 2, int length = 32, Argon2Type type = Argon2Type.i, Argon2Version version = Argon2Version.V13}) Future<DArgon2Result>
The Future method to hash a List
hashPasswordString(String password, {required Salt salt, int iterations = 32, int memory = 256, int parallelism = 2, int length = 32, Argon2Type type = Argon2Type.i, Argon2Version version = Argon2Version.V13}) Future<DArgon2Result>
The Future method to hash a String password with Argon2
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
verifyHashBytes(List<int> password, List<int> encodedHash, {Argon2Type type = Argon2Type.i}) Future<bool>
The Future method to handle verifying a List
verifyHashString(String password, String encodedHash, {Argon2Type type = Argon2Type.i}) Future<bool>
The Future method to handle verifying a String argon2 hash against a String password

Operators

operator ==(Object other) bool
The equality operator.
inherited