Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MD5 Hashing
#1
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)
Reply
#2
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
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Hashing an address for binary file Python_help 8 2,566 Nov-04-2021, 06:23 AM
Last Post: ndc85430
  hashing a function ltitley 1 2,259 Apr-24-2018, 04:08 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020