verifyHashBytes abstract method

Future<bool> verifyHashBytes(
  1. List<int> password,
  2. List<int> encodedHash, {
  3. 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});