Python Forum

Full Version: MD5 Hashing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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)
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