Current File : //usr/lib64/python2.7/site-packages/Crypto/Hash/RIPEMD.pyc |
�
Bd\Rc @ s� d Z d Z d d d g Z d d l Td d l m Z d d l j j Z e Z d e f d � � YZ
d d
� Z e
j
Z
e
j Z d S( sf 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
s $Id$t newt digest_sizet
RIPEMD160Hashi����( t *( t HashAlgoNc B s>