Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 4
    A hash is a one way scrambling and shortening of the data. For instance, I could take an md5 hash of a long document to have a short string proving the document has not later been changed. But it doesn't go backwards. You can't get the original string back. You'll notice there is no decode on an md5 object. Commented Apr 21, 2018 at 16:53
  • Then how could I use hashlib to decode the data? Cause I've been told to do using that. Commented Apr 21, 2018 at 16:58
  • Get some clarification on that! Is there more to the task, perhaps a list of possible message and you have to choose which one? You can reverse encrypted messages but not hashes. Either this person doesn't know what they are talking about or there is more to the task. Commented Apr 21, 2018 at 17:02
  • As an example, suppose I gave you the first 5 characters of a message and told you to decrypt the entire message from there. You'd rightly tell me no way! Commented Apr 21, 2018 at 17:02