validateHashFromBytes method
Verify whether the hashString is valid for the given secret (Uint8List).
hashString should be a PHC-formatted string: $argon2id$v=19$m={memory},t={iterations},p={lanes}${base64Salt}$${base64Hash}
Tries the primary pepper first, then falls back to the fallback peppers if provided.
Implementation
Future<bool> validateHashFromBytes({
required final Uint8List secret,
required final String hashString,
}) async {
return _validateHashFromHashedString(
secret: secret,
hashString: hashString,
);
}