src/Password/SmfPassword.php
public function verify($password, $hash) {
        list($storedHash, $username) = $this->splitHash($hash);
        $result = (sha1(strtolower($username).$password) == $storedHash);
        return $result;
    }
public function verify($password, $hash) {
        list($storedHash, $username) = $this->splitHash($hash);
        $result = (sha1(strtolower($username).$password) == $storedHash);
        return $result;
    }
Check to make sure a password matches its stored hash.

@param string $password The password to verify.
@param string $hash The stored password hash.
@return bool Returns `true` if the password matches the stored hash.