check static method

bool check(
  1. String password,
  2. String hashedPassword
)

same as verify

Hash.check('secret', '<hashedString>');

Implementation

static bool check(String password, String hashedPassword) {
  if (StrictMode.enabled) {
    StrictMode.checkSyncHash('Hash.check', 'Hash.verifyAsync');
  }
  return _verify(password, hashedPassword);
}