HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/jwt/__pycache__/compat.cpython-36.pyc
3

�k�Z��@s�dZddlZddlZddlZejddkZer8eZeZ	ne
ZeZ	ee	fZy
ejZ
Wnek
rndd�Z
YnXeedd�r�dd�Znd	d�ZdS)
z�
The `compat` module provides support for backwards compatibility with older
versions of python, and compatibility wrappers around optional packages.
�N�cCsLt|�t|�krdSd}x*t||�D]\}}|t|�t|�AO}q$W|dkS)z�
        Returns True if the two strings are equal, False otherwise.

        The time taken is independent of the number of characters that match.
        Fr)�len�zip�ord)Zval1Zval2�result�x�y�r	�/usr/lib/python3.6/compat.py�constant_time_comparesr�to_bytescCs6|}d}x|dkr$|d?}|d7}q
W|j|ddd�S)Nr��ZbigF)Zsigned)r)�valZ	remainingZbyte_lengthr	r	r
�bytes_from_int.s
rcCsFg}x |r$t|d�\}}|j|�qW|j�tjdt|�f|��S)N�z%sB)�divmod�append�reverse�struct�packr)rZbufZ	remainderr	r	r
r8s)�__doc__Zhmacr�sys�version_infoZPY3�strZ	text_type�bytesZbinary_typeZunicodeZstring_typesZcompare_digestr�AttributeError�getattr�intrr	r	r	r
�<module>s"