o
    ÌÒO`^  ã                   @   s   d d„ Z dS )c                 C   s\   t | tƒr
t |tƒstdƒ‚t| ƒt|ƒkrdS d}t| |ƒD ]
\}}|||A O }q|dkS )aÌ  
    PyJWT expects hmac.compare_digest to exist for all Python 3.x, however it was added in Python > 3.3
    It has a fallback for Python 2.x but not for Pythons between 2.x and 3.3
    Copied from: https://github.com/python/cpython/commit/6cea65555caf2716b4633827715004ab0291a282#diff-c49659257ec1b129707ce47a98adc96eL16

    Returns the equivalent of 'a == b', but avoids content based short
    circuiting to reduce the vulnerability to timing attacks.
    zinputs must be bytes instancesFé    )Ú
isinstanceÚbytesÚ	TypeErrorÚlenÚzip)ÚaÚbÚresultÚxÚy© r   úU/var/www/html/asistente-voz-ia/venv/lib/python3.10/site-packages/twilio/jwt/compat.pyÚcompare_digest   s   
r   N)r   r   r   r   r   Ú<module>   s    