Jump to content

Encryption


livethedead

Recommended Posts

I seen the sticky but that didn't have my answer and no place I go is really answering my core question. This just doesn't make sense in my brain, how is using md5 safe. What if someone got say an encrypted pass. The code md5 uses is available to anyone, no? So if they got a hold of it how is it not as easily cracked as it is encrypted. Someone please explain this to me lol, it's like a thorn in my brain.

Link to comment
Share on other sites

md5, sha1, sha256, etc. are not methods of encryption. They are one-way hashing algorithms. The way md5 is "cracked" is by taking an enormous number of words (like a whole dictionary's worth), and generating a hash value that corresponds to each of those words. A hash value can them be compared to the known values to see if there is a match. With the older algorithms (crc32, md5, and sha1, etc.), it's very possible that the algorithm will generate the same hash value for more than one string. That is known as a collision. So, in short, even though a string generates a hash value that matches another hash value, you can't be 100% certain that it was generated by the same string. As far as passwords go, that is really neither her nor there because if you enter a string that causes a collision, it's as good as entering the actual string that originally created the hash.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.