googlecolab / colabtools

Python libraries for Google Colaboratory
Apache License 2.0
2.21k stars 727 forks source link

Updated version of Google Colab is missing cryptographic algorithm: RIPEMD160 #4241

Open demining opened 11 months ago

demining commented 11 months ago

Is it possible to solve this problem by updating it myself?

https://github.com/demining/CryptoDeepTools/issues/19#issuecomment-1858305416

"hashlib" module, which is installed by default, does not work properly, because Some cryptographic algorithms are missing, for example there is no RIPEMD160 algorithm and therefore we cannot reproduce base58.

To check, I ran the code:

import hashlib

for name in hashlib.algorithms_available:
    try:
        hashlib.new(name)
        print('ok', name)
    except ValueError:
        print('error', name)

image

**Cryptographic algorithm: RIPEMD160 missing

polynonce commented 11 months ago

Can't the developers solve this problem with the "hashlib" module? For me this is a terrible bug in Google Colab. The main thing is that it doesn’t work on both versions of Python ((((

image