|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /proc/self/root/lib/python2.7/site-packages/itsdangerous/ |
Upload File : |
�
-/�_c @ s� d d l Z d d l Z d d l Z d d l Z e j d d k Z e rb d d l m Z e Z n e
Z e Z e j e j
f Z d � Z e e d e � Z d S( i����Ni i ( t izipc C s} t | � t | � k } | r- d } | } n d } | } x7 t t | � t | � � D] \ } } | | | AO} qU W| d k S( s� Return ``True`` if the two strings are equal, ``False``
otherwise.
The time taken is independent of the number of characters that
match. Do not use this function for anything else than comparision
with known length targets.
This is should be implemented in C in order to get it completely
right.
This is an alias of :func:`hmac.compare_digest` on Python>=2.7,3.3.
i i ( t lenR t bytearray( t val1t val2t len_eqt resultt leftt xt y( ( s<