Jump to content

md5 encryption


activee

Recommended Posts

Hi,

so it's not really a coding question but md5 got me a bit worried. I just learned about it and I was wondering what would stop someone to create a table with each encryption possibe from 0 to 15 characters and save it in a table.  Then if he finds a md5-encrypted password he can then translate it via his table assuming that the original password  is 15 characters or less. Is that right ? that freaks me out a bit tbh.

Link to comment
https://forums.phpfreaks.com/topic/280988-md5-encryption/
Share on other sites

Read through this thread: How to safely store passwords for some details about hashing, rainbow tables, salts, etc. That should give you a lot of good info to start with. The short answer to your questions though:

what would stop someone to create a table with each encryption possibe from 0 to 15 characters and save it in a table.

Then if he finds a md5-encrypted password he can then translate it via his table assuming that the original password  is 15 characters or less. Is that right?

The value found may or may not be the original password, but if it results in the same hash then it will work just as well. Two values resulting in the same hash is possible, and is known as a collision.

 

On a side note, MD5 is not encryption, it is a hash. Something that has been encrypted can be readily decrypted. That is not possible with MD5 and other hashing algorithms. As such, do not reference things as being MD5-encrypted, use md5-hashed or similar.

Link to comment
https://forums.phpfreaks.com/topic/280988-md5-encryption/#findComment-1444213
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.