verifyHashBytes method
Future<bool>
verifyHashBytes(
- List<
int> password, - List<
int> encodedHash, { - Argon2Type type = Argon2Type.i,
The Future method to handle verifying a List
Needs a List of type int password
, a List of type int encodedHash
, as well as an
Argon2Type type
used for the actual hash.
Returns a Future with the bool of whether the hashing was a match or not
Implementation
Future<bool> verifyHashBytes(List<int> password, List<int> encodedHash,
{Argon2Type type = Argon2Type.i}) async {
return verifyHashBytesSync(password, encodedHash, type: type);
}