Viewing File: /opt/alt/python38/lib64/python3.8/__pycache__/hmac.cpython-38.pyc
U
,a @ s d Z ddlZddlmZ zddlZW n ek
r@ dZdZ Y nX e
ejZ ddlZe
dd edD Ze
dd edD ZdZG dd d ZdddZd
d ZdS )zqHMAC (Keyed-Hashing for Message Authentication) module.
Implements the HMAC algorithm as described by RFC 2104.
N)_compare_digestc c s | ]}|d A V qdS )\ N .0xr r )/opt/alt/python38/lib64/python3.8/hmac.py <genexpr> s r c c s | ]}|d A V qdS )6 Nr r r r r r s c @ sR e Zd ZdZdZdddZedd Zd d
Zdd Z d
d Z
dd Zdd ZdS )HMACz~RFC 2104 HMAC class. Also complies with RFC 4231.
This supports the API for Cryptographic Hash Functions (PEP 247).
@ N c sF t |ttfs tdt|j s,tdt r<