OTPHP\OTP::compareOTP PHP 메소드

compareOTP() 보호된 메소드

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