Elgg\PasswordService::verify PHP Method

verify() public method

Verify a password against a hash using a timing attack resistant approach
public verify ( string $password, string $hash ) : boolean
$password string The password to verify
$hash string The hash to verify against
return boolean If the password matches the hash
    function verify($password, $hash)
    {
        return password_verify($password, $hash);
    }