orange08 Posted May 18, 2009 Share Posted May 18, 2009 i'm using sha1($password) to hash my password, but somebody to tell that this is not enough for the security purpose, should be using salt. but, i'm not too sure how to use it with sha1()... is that like this sha1(password+uniqid()) Link to comment https://forums.phpfreaks.com/topic/158578-password-security/ Share on other sites More sharing options...
Ken2k7 Posted May 18, 2009 Share Posted May 18, 2009 Use a . instead of a +. And it should be $password, not password, or whatever the variable is, unless it's a constant. Link to comment https://forums.phpfreaks.com/topic/158578-password-security/#findComment-836393 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.