You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uses hashlib to create a ripemd160 digest. The ripemd160 digest is not among hashlib's guaranteed algorigthms so this function may fail on some platforms with a ValueError: unsupported hash type ripemd message. I experienced this while trying to run liana's tests.
Would it be a bad idea to check for the presence of 'ripemd160' in hashlib.algorithms_available and output an appropriate error message before trying to create the ripemd160 digest?
The text was updated successfully, but these errors were encountered:
The
hash160
implementation atpython-bip380/bip380/utils/hashes.py
Lines 14 to 17 in d2f5d8f
ripemd160
digest. Theripemd160
digest is not among hashlib's guaranteed algorigthms so this function may fail on some platforms with aValueError: unsupported hash type ripemd
message. I experienced this while trying to run liana's tests.Would it be a bad idea to check for the presence of 'ripemd160' in
hashlib.algorithms_available
and output an appropriate error message before trying to create the ripemd160 digest?The text was updated successfully, but these errors were encountered: