3  f@sldZddlZddlmZddlZedde dDZ edde dDZ dZ Gdd d Z d d d ZdS) zxHMAC (Keyed-Hashing for Message Authentication) Python module. Implements the HMAC algorithm as described by RFC 2104. N)_compare_digestccs|]}|dAVqdS)\N).0xrr)/opt/alt/python36/lib64/python3.6/hmac.py srccs|]}|dAVqdS)6Nr)rrrrrr sc@sReZdZdZdZdddZeddZdd Zd d Z d d Z ddZ ddZ dS)HMACz~RFC 2104 HMAC class. Also complies with RFC 4231. This supports the API for Cryptographic Hash Functions (PEP 247). @NcsVt|ttfs tdt|jdkr4szHMAC.__init__..cs j|S)N)r)r)rrrr6s block_sizez:block_size of %d seems too small; using our default of %d.zwarningsr _operatorrZcompare_digestZhashlibrrranger.r/r%r rrrrrs r