I need to perform a decryption using TripleDes, I'm using Python - Crypto.Cipher import AES
Goodnight,
I'm trying to decrypt a 3Des key, but without success.
I'm doing it like this:
m = md5(key.encode('ISO-8859-1')).digest()
cipher = AES.new(m, AES.MODE_ECB)
Then I try to do the decryption:
x = bytes(password, 'ISO-8859-1')
b = cipher.decrypt(x)
It should return something like
0412719876FEDCBA
But it returns:
b'\x1e\xec\xd6A\xb13\xcf\x14N9\xa3\xb6\xdfZ\xf5\xbe'
In hexadecimal:
ac6b1433d25c07bd3853b293cbf719db
I know it's kind of vague, but does anyone have any light??