i read many answers about converting hex to binary in SO. I tried to implement it with md5:
import hashlib
c = hashlib.md5("123hello123".encode('ascii'))
print(c.hexdigest())
for _hex in c.hexdigest():
_hex = int(_hex, 16)
print(bin(_hex)[2:], end="")
i get the output:
b303fa684382db471658016690101792 1011110111111101011010001001110001011011011100111111010110000111011010010101111100110
where as when i convert in an online converter i get:
10110011000000111111101001101000010000111000001011011000000000000000000000000000000000000000000000000000000000000000000000000000
what is the right answer? how should i correct my program?