OTPHP\OTP::compareOTP PHP Method

compareOTP() protected method

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