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

 

 

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.