Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

ripemd160 unsupported #1

Open
PhGalaz opened this issue Aug 12, 2016 · 2 comments
Open

ripemd160 unsupported #1

PhGalaz opened this issue Aug 12, 2016 · 2 comments

Comments

@PhGalaz
Copy link

PhGalaz commented Aug 12, 2016

I have search for days trying to fix this issue. I can't do nothing related to Bitcoin without it.
This is my code:

import hashlib
from Crypto.Hash import RIPEMD

r = hashlib.new('ripemd160')

this is my log:

Traceback (most recent call last):
File "error.py", line 4, in
r = hashlib.new('RIPEMD')
File "build/bdist.linux-x86_64/egg/hashlib.py", line 87, in __py_new
elif name in ('SHA512', 'sha512', 'SHA384', 'sha384'):
File "build/bdist.linux-x86_64/egg/hashlib.py", line 80, in __get_builtin_constructor
elif name in ('SHA256', 'sha256', 'SHA224', 'sha224'):
ValueError: unsupported hash type

Please help. I'm in Ubuntu 16.04.
Thanks.

Felipe.

@PhGalaz PhGalaz changed the title ripemd160 unsoported ripemd160 unsupported Aug 12, 2016
@doersf
Copy link
Member

doersf commented Aug 13, 2016

Hi

Can you confirm you have the libssl-dev package installed on your system?

@PhGalaz
Copy link
Author

PhGalaz commented Aug 13, 2016

Yes sir, I totally do.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants