Jump to content

TROUBLE WITH LOGIN SCRIPTING USING PHP & MYSQL


thminco

Recommended Posts

Very interesting Dan and it makes a lot of sense now.  What about using both md5 and sha1 and salt and concatenating them all together?  Would that be another layer of defense?  Or maybe 2 password fields stored in the database, one with the md5 data and one with the sha1 data?

If you're starting from scratch you should check the article in my signature.

 

SHA1 is too fast an algorithm to trust for password hashing, nor was it designed for it.

 

Storing 2 hashes is redundant. Having 50 passwords will always be more secure than 1, but if you're going to go that far you're better off using a single, large key of some sort.

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.