verifySalt method

bool verifySalt(
  1. String salt,
  2. String hash
)

Implementation

bool verifySalt(String salt, String hash) {
  return hashSalt(salt) == hash;
}