Here's the code I tried in Python but I get AttributeError
:
>>> import hmac
>>> import hashlib
>>> h=hashlib.new('ripemd160')
>>> hmac.new("bedford","Hello",hashlib.ripemd160)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'hashlib' has no attribute 'ripemd160'
I have searched the Python documentation and lots of forums but do not find much on ripemd160 and Python.