Current File : //proc/self/root/proc/self/root/usr/lib64/python2.7/site-packages/Crypto/Hash/MD4.pyo
�
Bd\Rc@s�dZdZdddgZddlTddlmZddljjZeZ	defd	��YZ
dd
�Ze
j
Z
e
jZdS(s�MD4 cryptographic hash algorithm.

MD4 is specified in RFC1320_ and produces the 128 bit digest of a message.

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

MD4 stand for Message Digest version 4, and it was invented by Rivest in 1990.

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

.. _RFC1320: http://tools.ietf.org/html/rfc1320
s$Id$tnewtdigest_sizetMD4Hashi����(t*(tHashAlgoNcBs>eZdZed�ZdZdZdd�Zdd�Z	RS(sIClass that implements an MD4 hash
    
    :undocumented: block_size
    s
*�H��
ii@cCstj|t|�dS(N(Rt__init__thashFactory(tselftdata((s5/usr/lib64/python2.7/site-packages/Crypto/Hash/MD4.pyRCscCs
t|�S(N(R(RR((s5/usr/lib64/python2.7/site-packages/Crypto/Hash/MD4.pyRFsN(
t__name__t
__module__t__doc__tbtoidRt
block_sizetNoneRR(((s5/usr/lib64/python2.7/site-packages/Crypto/Hash/MD4.pyR0s
cCst�j|�S(sReturn 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 `MD4Hash.update()`.
        Optional.

    :Return: A `MD4Hash` object
    (RR(R((s5/usr/lib64/python2.7/site-packages/Crypto/Hash/MD4.pyRIs(Rt_revision__t__all__tCrypto.Util.py3compattCrypto.Hash.hashalgoRtCrypto.Hash._MD4tHasht_MD4RRRRRR(((s5/usr/lib64/python2.7/site-packages/Crypto/Hash/MD4.pyt<module>$s