ó Bd\Rc@s…dZdZdddgZddlTddlmZddljjZeZ defd „ƒYZ dd „Z e j Z e jZdS( sfRIPEMD-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 s$Id$tnewt digest_sizet RIPEMD160Hashiÿÿÿÿ(t*(tHashAlgoNcBs>eZdZedƒZdZdZdd„Zdd„Z RS(sNClass that implements a RIPMD-160 hash :undocumented: block_size s+$ii@cCstj|t|ƒdS(N(Rt__init__t hashFactory(tselftdata((s8/usr/lib64/python2.7/site-packages/Crypto/Hash/RIPEMD.pyRFscCs t|ƒS(N(R(RR((s8/usr/lib64/python2.7/site-packages/Crypto/Hash/RIPEMD.pyRIsN( t__name__t __module__t__doc__tbtoidRt block_sizetNoneRR(((s8/usr/lib64/python2.7/site-packages/Crypto/Hash/RIPEMD.pyR3s   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 `RIPEMD160Hash.update()`. Optional. :Return: A `RIPEMD160Hash` object (RR(R((s8/usr/lib64/python2.7/site-packages/Crypto/Hash/RIPEMD.pyRLs (R t _revision__t__all__tCrypto.Util.py3compattCrypto.Hash.hashalgoRtCrypto.Hash._RIPEMD160tHasht _RIPEMD160RRRRRR(((s8/usr/lib64/python2.7/site-packages/Crypto/Hash/RIPEMD.pyt's