Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6461

how to get ripem160 from hashlib to work in python 2

$
0
0

I am modifying a script written in python2 that uses hashlib, the actual call is:

ripemd160 = hashlib.new('ripemd160')

I am doing this in a venv python2.

I checked the /usr/lib/python2.7/hashlib.py and indeed the ripem library is not listed.

So my question is, how can I get a legacy version that has ripem160 in it to install for python 2?

Or can I replace the hashlib module with a different module that provides ripem160 hashing library?

Thank you.


Viewing all articles
Browse latest Browse all 6461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>