So 5 extra steps, 5 useless operations per key.
import os,hashlib
while True:
random_bytes=os.urandom(9);initial_bytes=b'\x00'*23;full_bytes = initial_bytes + random_bytes
h160 = hashlib.new('ripemd160', hashlib.sha256(full_bytes).digest()).hexdigest()
if h160 == "20d45a6a762535700ce9e0b216e31994335db8a5":
dec = int.from_bytes(full_bytes, byteorder='big')
print(dec)
break
It can't be simpler than this.. But even for this you have to wait 5000 years.
