Mini Kabibi Habibi

Current Path : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/__pycache__/
Upload File :
Current File : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/__pycache__/hmac.cpython-314.pyc

+
��h�#��.�Rt^RIt]Pt]!]P
4t^RI
t
]!R]!R444t
]!R]!R444tRtRt!RR4tRR	ltR
tRtR# ]dRtRt^RIH	tL^i;i ]dRt
Lhi;i)
zqHMAC (Keyed-Hashing for Message Authentication) module.

Implements the HMAC algorithm as described by RFC 2104.
N)�_compare_digestc#�2"�TF
q^\,x�K	R#5i)�\N���.0�xs& �@C:\Users\ITO\AppData\Local\Programs\Python\Python314\Lib\hmac.py�	<genexpr>r
����0�Z��d�(�(�Z����c#�2"�TF
q^6,x�K	R#5i)�6Nrrs& r	r
r
rrc�~a�\S4'dS#\S\4'dRV3RllpV#RV3RllpV#)�c�0<�^RIpVPSV4#)�N)�hashlib�new)�dr�digest_likes& �r	�digest_wrapper�/_get_digest_constructor.<locals>.digest_wrapper!s�����;�;�{�A�.�.rc�&<�SPV4#�N)r)rrs&�r	rr%s����?�?�1�%�%r)r)�callable�
isinstance�str)rrsf r	�_get_digest_constructorrs9����������+�s�#�#�	/���	&��rc�a�]tRt^*toRt^@tRtRRltRtRt	]	t
RtRt]
R4tR	tR
tRtRtR
tRtVtR#)�HMACzvRFC 2104 HMAC class.  Also complies with RFC 4231.

This supports the API for Cryptographic Hash Functions (PEP 247).
Nc���\V\\34'g#\R\	V4P
:24hV'g\R4hVP
WV4R#)a�Create a new HMAC object.

key: bytes or buffer, key for the keyed hash object.
msg: bytes or buffer, Initial input for the hash or None.
digestmod: A hash name suitable for hashlib.new(). *OR*
           A hashlib constructor returning a new hash object. *OR*
           A module supporting PEP 247.

           Required as of 3.8, despite its position after the optional
           msg argument.  Passing it as a keyword argument is
           recommended, though not required for legacy API reasons.
z*key: expected bytes or bytearray, but got z&Missing required argument 'digestmod'.N)r�bytes�	bytearray�	TypeError�type�__name__�_HMAC__init��self�key�msg�	digestmods&&&&r	�__init__�
HMAC.__init__8s\���#��y�1�2�2��'�'+�C�y�'9�'9�&<�>�?�
?���D�E�E����C�i�(rc�~�\'d2\V\\34'dVP	WV4R#\'d,\V\4'dVPWV4R#VPWV4R# \P
dLbi;i \PdLFi;ir)
�_hashopensslrr�	_functype�_init_openssl_hmac�UnsupportedDigestmodError�_hmac�_init_builtin_hmac�UnknownHashError�	_init_oldr)s&&&&r	�__init�HMAC.__initOs����<�J�y�3�	�2B�C�C�
��'�'��)�<���5�Z�	�3�/�/�
��'�'��)�<��	
���s��+�� �9�9�
��
���)�)�
��
�s#�B	�!B$�	B!� B!�$B<�;B<c���\P!WVR7VnR;VnVnVPP
VnVPPVnR#�)r-N)r1�hmac_newr5�_inner�_outer�digest_size�
block_sizer)s&&&&r	r3�HMAC._init_openssl_hmac^sG��!�*�*�3�y�I��
�$(�(���d�k��:�:�1�1����*�*�/�/��rc���\P!WVR7VnR;VnVnVPPVnVPP
VnR#r<)r5rr>r?r@rAr)s&&&&r	r6�HMAC._init_builtin_hmacfsE���Y�Y�s�9�=��
�$(�(���d�k��:�:�1�1����*�*�/�/��rc�8�^RIp\V4pRVnV!4VnV!4VnVPP
Vn\
VPR4'dSVPPpV^8d5VPRVRVPR2\^4VPpM1VPRVPR2\^4VPp\V4V8�dV!V4P4pW`nVPVR4pVPPVP\ 44VPPVP\"44VeVPV4R#R#)rNrAzblock_size of z' seems too small; using our default of �.z9No block_size attribute on given digest object; Assuming �)�warningsrr5r?r>r@�hasattrrA�warn�	blocksize�RuntimeWarning�len�digest�ljust�update�	translate�trans_5C�trans_36)r*r+r,r-rH�digest_consrKs&&&&   r	r8�HMAC._init_oldlsM���-�i�8����
�!�m���!�m����;�;�2�2����4�;�;��-�-����.�.�I��2�~��
�
��y�k�:6�6:�n�n�5E�Q�H�,�a�1�!�N�N�	���M�M�&�&*�n�n�%5�Q�8�(�!�
-����I��s�8�i���c�"�)�)�+�C�#���i�i�	�5�)�������3�=�=��2�3������3�=�=��2�3��?��K�K���rc��VP'dVPP#RVPP2#)zhmac-)r5�namer>)r*s&r	rW�	HMAC.name�s1���:�:�:��:�:�?�?�"��4�;�;�+�+�,�-�-rc�h�VP;'g
VPpVPV4R#)z,Feed data from msg into this hashing object.N)r5r>rP)r*r,�insts&& r	rP�HMAC.update�s#���z�z�(�(�T�[�[�����C�rc�~�VPPVP4pVPVnVP'd0VPP	4VnR;VnVnV#RVnVP
P	4VnVPP	4VnV#)ziReturn a separate copy of this hashing object.

An update to this copy won't affect the original object.
N)�	__class__�__new__r@r5�copyr>r?)r*�others& r	r_�	HMAC.copy�s������&�&�t�~�~�6�� �,�,����:�:�:��*�*�/�/�+�E�K�*.�.�E�L�5�<�
���E�K��;�;�+�+�-�E�L��;�;�+�+�-�E�L��rc���VP'd
VP#VPP4pVPVPP44V#)zgReturn a hash object for the current state.

To be used only internally with digest() and hexdigest().
)r5r?r_rPr>rN�r*�hs& r	�_current�
HMAC._current�sG��
�:�:�:��:�:����� � �"�A�
�H�H�T�[�[�'�'�)�*��Hrc�B�VP4pVP4#)z�Return the hash value of this hashing object.

This returns the hmac value as bytes.  The object is
not altered in any way by this function; you can continue
updating the object after calling this function.
)rerNrcs& r	rN�HMAC.digest�s��
�M�M�O���x�x�z�rc�B�VP4pVP4#)zKLike digest(), but returns a string of hexadecimal digits instead.
        )re�	hexdigestrcs& r	rj�HMAC.hexdigest�s��
�M�M�O���{�{�}�r)r5r>r?rAr@�N�)r'�
__module__�__qualname__�__firstlineno__�__doc__rK�	__slots__r.r(r3�
_init_hmacr6r8�propertyrWrPr_rerNrj�__static_attributes__�__classdictcell__)�
__classdict__s@r	r!r!*sk������I��I�)�.
,�0�$�J�0� �D�.��.��
�"
���rr!c��\WV4#)a�Create a new hashing object and return it.

key: bytes or buffer, The starting key for the hash.
msg: bytes or buffer, Initial input for the hash, or None.
digestmod: A hash name suitable for hashlib.new(). *OR*
           A hashlib constructor returning a new hash object. *OR*
           A module supporting PEP 247.

           Required as of 3.8, despite its position after the optional
           msg argument.  Passing it as a keyword argument is
           recommended, though not required for legacy API reasons.

You can now feed arbitrary bytes into the object using its update()
method, and can ask for the hash value at any time by calling its digest()
or hexdigest() methods.
)r!)r+r,r-s&&&r	rr�s��"��)�$�$rc��\'d5\V\\34'd\P!WV4#\'d/\V\4'd\P!WV4#\WV4# \P
dL]i;i \\P3dLDi;i)a2Fast inline implementation of HMAC.

key: bytes or buffer, The key for the keyed hash object.
msg: bytes or buffer, Input message.
digest: A hash name suitable for hashlib.new() for best performance. *OR*
        A hashlib constructor returning a new hash object. *OR*
        A module supporting PEP 247.
)r1rrr2�hmac_digestr4r5�compute_digest�
OverflowErrorr7�_compute_digest_fallback)r+r,rNs&&&r	rNrN�s����|�
�6�C��+;�<�<�	��+�+�C�f�=�=�
�u��F�C�(�(�	��'�'��&�9�9�$�C�f�5�5���5�5�	��	���u�5�5�6�	��	�s#�B�$B"�B�B�"C�?Cc���\V4pV!4pV!4p\VR^@4p\V4V8�dV!V4P4pVP	VR4pVPVP
\44VPVP
\44VPV4VPVP44VP4#)rArG)	r�getattrrMrNrOrPrQrSrR)r+r,rNrT�inner�outerrKs&&&    r	r}r}�s���)�&�1�K��M�E��M�E���|�R�0�I�
�3�x�)���#��%�%�'��

�)�)�I�u�
%�C�	�L�L����x�(�)�	�L�L����x�(�)�	�L�L���	�L�L����� ��<�<�>�rrl)rq�_hashlibr1�compare_digestr&�openssl_sha256r2�ImportError�	_operatorrr5r#�rangerRrSr@rr!rrNr}rrr	�<module>r�s����
2�#�"�0�0�N��\�0�0�1�I����0�U�3�Z�0�0���0�U�3�Z�0�0����
�[�[�|%�(6�0��Y�<��L��I�;�<�����E��s"�A1�B�1B�B�	B�B