10
¿Cómo corregir TypeError: los objetos Unicode deben codificarse antes del hash?
Tengo este error: Traceback (most recent call last): File "python_md5_cracker.py", line 27, in <module> m.update(line) TypeError: Unicode-objects must be encoded before hashing cuando intento ejecutar este código en Python 3.2.2 : import hashlib, sys m = hashlib.md5() hash = "" hash_file = input("What is the file name in which the …