Jump to content

md5 versus plain texst?


sangoku

Recommended Posts

Hy i read the topic about the md5 insecurity and the collision possibility....

 

And now i have a following question. Is it not MUCH more secure to store the actual password in the DB then the md5 value of it??

 

Because you with it eliminate the collision possibility of the md5 completely.

 

And I am aware of the possibility that someone could break into my DB but if I am dumb enough to let someone access my db, but that is not an issue.

I can always use a 2way encryption to store the data.

Link to comment
https://forums.phpfreaks.com/topic/220056-md5-versus-plain-texst/
Share on other sites

My simple answer for the 'collision' possibility.

When I am storing a password for a user, for example, it is stored with an incremented value as an ID in the database.

Should an MD5 hash of a password match another one, it will NEVER match the combination of the ID value (incremented value) + the hash value.

 

 

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.