OTPHP\OTP::compareOTP PHP Méthode

compareOTP() protected méthode

protected compareOTP ( string $safe, string $user ) : boolean
$safe string
$user string
Résultat boolean
    protected function compareOTP($safe, $user)
    {
        return hash_equals($safe, $user);
    }