MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //opt/alt/python37/lib64/python3.7/site-packages/Crypto/Hash/__pycache__/MD2.cpython-37.pyc
B

Bd\R�
�@sfdZdZdddgZddlTddlmZddlmmZeZ	Gd	d�de�Z
dd
d�Ze
jZe
j
Z
dS)a�MD2 cryptographic hash algorithm.

MD2 is specified in RFC1319_ and it produces the 128 bit digest of a message.

    >>> from Crypto.Hash import MD2
    >>>
    >>> h = MD2.new()
    >>> h.update(b'Hello')
    >>> print h.hexdigest()

MD2 stand for Message Digest version 2, and it was invented by Rivest in 1989.

This algorithm is both slow and insecure. Do not use it for new designs.

.. _RFC1319: http://tools.ietf.org/html/rfc1319
z$Id$�new�digest_size�MD2Hash�)�*)�HashAlgoNc@s4eZdZdZed�ZdZdZd	dd�Zd
dd�Z	dS)rzIClass that implements an MD2 hash
    
    :undocumented: block_size
    u
*†H†÷
�NcCst�|t|�dS)N)r�__init__�hashFactory)�self�data�r�B/opt/alt/python37/lib64/python3.7/site-packages/Crypto/Hash/MD2.pyrCszMD2Hash.__init__cCst|�S)N)r)r
rrrr
rFszMD2Hash.new)N)N)
�__name__�
__module__�__qualname__�__doc__�bZoidr�
block_sizerrrrrr
r0s

cCst��|�S)aReturn 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 `MD2Hash.update()`.
        Optional.

    :Return: An `MD2Hash` object
    )rr)rrrr
rIs)N)rZ_revision__�__all__ZCrypto.Util.py3compatZCrypto.Hash.hashalgorZCrypto.Hash._MD2ZHashZ_MD2r	rrrrrrrr
�<module>$s