ok
Direktori : /opt/alt/python38/lib64/python3.8/site-packages/Crypto/Hash/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/site-packages/Crypto/Hash/__pycache__/hashalgo.cpython-38.pyc |
U Bd\R� � @ s d dl mZ G dd� d�ZdS )� )�hexlifyc @ sL e Zd ZdZdZdZddd�Zdd� Zdd� Zd d � Z dd� Z dd d�ZdS )�HashAlgozeA generic class for an abstract cryptographic hash algorithm. :undocumented: block_size Nc C s0 t |d�r|�� | _n|� | _|r,| �|� dS )a� Initialize the hash object. :Parameters: hashFactory : callable An object that will generate the actual hash implementation. *hashFactory* must have a *new()* method, or must be directly callable. data : byte string The very first chunk of the message to hash. It is equivalent to an early call to `update()`. �newN)�hasattrr �_hash�update)�selfZhashFactory�data� r �/hashalgo.py�__init__"