Jump to content

SHA1


Xtremer360

Recommended Posts

In fact, you shouldn't mysqli_real_escape_string the password if you're going to hash it right afterwards. You're corrupting the data.

 

You should, on the other hand, "corrupt" the password intentionally by using a salt. It's an added security measure but requires that you track the salt (or figure a good way to compute it, creating the same salt everytime for the same person but a different salt for a different person) and the password.

Link to comment
https://forums.phpfreaks.com/topic/220501-sha1/#findComment-1142378
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.