isHashedPassword method

  1. @override
bool isHashedPassword(
  1. String passwordOrHash
)
override

Returns true if passwordOrHash is hashed with this algorithm.

Implementation

@override
bool isHashedPassword(String passwordOrHash) {
  return passwordOrHash.length == 64 && _regExpHEX.hasMatch(passwordOrHash);
}