Elgg\PasswordService::needsRehash PHP 메소드

needsRehash() 공개 메소드

If the answer is true, after validating the password using password_verify, rehash it.
public needsRehash ( string $hash ) : boolean
$hash string The hash to test
리턴 boolean True if the password needs to be rehashed.
    function needsRehash($hash)
    {
        return password_needs_rehash($hash, PASSWORD_DEFAULT);
    }