Python Forum
MD5 Hashing - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: MD5 Hashing (/thread-21255.html)



MD5 Hashing - Evil_Patrick - Sep-21-2019

Does anyone know how to do it vice versa?

import hashlib

password= input("Enter your Password: ")

result = hashlib.md5(password.encode()).hexdigest()
print("This is your encrypeted Password" + result)



RE: MD5 Hashing - buran - Sep-21-2019

Do you know the difference between hashing and encryption? hash is one-way transformation, you can not reverse it by given algorithm.
Knowing what the hash function was used and having computed tables in advance (so called rainbow tables) you can search the table for the underlying string given the hash result. Of course there is no way to have rainbow table for every possible string of every arbitrary length