Replace all hashlib ripemd160 functions.

This commit is contained in:
tecnovert committed 2023-12-16 09:38:34 +02:00
1 parent 08f0156b75
commit 0a9db22828
11 files changed
+31 -23

No files matched your search

@@ -51,9 +51,6 @@ MSG_TYPE_MASK = 0xffffffff >> 2
def sha256(s):
return hashlib.new('sha256', s).digest()
def ripemd160(s):
return hashlib.new('ripemd160', s).digest()
def hash256(s):
return sha256(sha256(s))