| Server IP : 23.254.227.96 / Your IP : 216.73.216.183 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/self/root/lib/python3.6/site-packages/jwt/__pycache__/ |
Upload File : |
3
�k�Z� � @ s� d Z ddlZddlZddlZejd dkZer8eZeZ ne
ZeZ ee fZy
ejZ
W n ek
rn dd� Z
Y nX eedd�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� c C sL t | �t |�krdS d}x*t| |�D ]\}}|t|�t|�A O }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_compare s r �to_bytesc C s6 | }d}x|dkr$|d? }|d7 }q
W | j |ddd�S )Nr � � ZbigF)Zsigned)r )�valZ remainingZbyte_lengthr r r
�bytes_from_int. s
r c C sF g }x | r$t | d�\} }|j|� qW |j� tjdt|� f|�� S )N� z%sB)�divmod�append�reverse�struct�packr )r ZbufZ remainderr r r
r 8 s )�__doc__Zhmacr �sys�version_infoZPY3�strZ text_type�bytesZbinary_typeZunicodeZstring_typesZcompare_digestr �AttributeError�getattr�intr r r r r
�<module> s"