Server IP : 192.158.238.246 / Your IP : 18.222.93.141 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib64/python3.7/site-packages/Crypto/Hash/__pycache__/ |
Upload File : |
B Bd\R� � @ sf d Z dZdddgZddlT ddlmZ ddlm mZ eZ G d d� de�Z dd d�Ze jZe j Z dS )af RIPEMD-160 cryptographic hash algorithm. RIPEMD-160_ produces the 160 bit digest of a message. >>> from Crypto.Hash import RIPEMD >>> >>> h = RIPEMD.new() >>> h.update(b'Hello') >>> print h.hexdigest() RIPEMD-160 stands for RACE Integrity Primitives Evaluation Message Digest with a 160 bit digest. It was invented by Dobbertin, Bosselaers, and Preneel. This algorithm is considered secure, although it has not been scrutinized as extensively as SHA-1. Moreover, it provides an informal security level of just 80bits. .. _RIPEMD-160: http://homes.esat.kuleuven.be/~bosselae/ripemd160.html z$Id$�new�digest_size� RIPEMD160Hash� )�*)�HashAlgoNc @ s4 e Zd ZdZed�ZdZdZd dd�Zddd �Z dS )r zNClass that implements a RIPMD-160 hash :undocumented: block_size z+$� �@ Nc C s t �| t|� d S )N)r �__init__�hashFactory)�self�data� r �E/opt/alt/python37/lib64/python3.7/site-packages/Crypto/Hash/RIPEMD.pyr F s zRIPEMD160Hash.__init__c C s t |�S )N)r )r r r r r r I s zRIPEMD160Hash.new)N)N) �__name__� __module__�__qualname__�__doc__�bZoidr � block_sizer r r r r r r 3 s c C s t � �| �S )a Return a fresh instance of the hash object. :Parameters: data : byte string The very first chunk of the message to hash. It is equivalent to an early call to `RIPEMD160Hash.update()`. Optional. :Return: A `RIPEMD160Hash` object )r r )r r r r r L s )N)r Z_revision__�__all__ZCrypto.Util.py3compatZCrypto.Hash.hashalgor ZCrypto.Hash._RIPEMD160ZHashZ _RIPEMD160r r r r r r r r r �<module>'