|
Server IP : 217.21.91.233 / Your IP : 216.73.216.58 Web Server : LiteSpeed System : Linux in-mum-web832.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64 User : u952924200 ( 952924200) PHP Version : 8.2.27 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : ON Directory (0755) : /../opt/alt/dav1d/../php54/../python27/lib64/python2.7/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
�
�V~gc @ s� d Z d d l Z d d l m Z d j g e d � D] Z e e d A� ^ q5 � Z
d j g e d � D] Z e e d A� ^ qg � Z d Z
g Z d d d � � YZ d d d
� Z d S( sx HMAC (Keyed-Hashing for Message Authentication) Python module.
Implements the HMAC algorithm as described by RFC 2104.
i����N( t _compare_digestt i i\ i6 t HMACc B sP e Z d Z d Z d d d � Z d � Z d � Z d � Z d � Z d � Z
RS( s~ RFC 2104 HMAC class. Also complies with RFC 4231.
This supports the API for Cryptographic Hash Functions (PEP 247).
i@ c s� | t k r d S� d k r4 d d l } | j � n t � d � rO � | _ n d � f d � | _ | j � | _ | j � | _ | j j | _ t | j d � r� | j j } | d k r
t
j d | | j f t
d � | j } q
n# t
j d
| j t
d � | j } t | � | k r7| j | � j � } n | t d � | t | � } | j j | j t � � | j j | j t � � | d k r�| j | � n d S( s9 Create a new HMAC object.
key: key for the keyed hash object.
msg: Initial input for the hash, if provided.
digestmod: A module supporting PEP 247. *OR*
A hashlib constructor returning a new hash object.
Defaults to hashlib.md5.
Ni����t __call__R c s
� j | � S( N( t new( t d( t digestmod( s) /opt/alt/python27/lib64/python2.7/hmac.pyt <lambda>2 R t
block_sizei s: block_size of %d seems too small; using our default of %d.i s<