colap Posted November 1, 2012 Share Posted November 1, 2012 Which mechanism should i use before saving password into mysql table? md5,sha1, or any crypting method. Please recommend/suggest something. Link to comment https://forums.phpfreaks.com/topic/270149-how-to-store-password-into-mysql-table/ Share on other sites More sharing options...
White_Lily Posted November 1, 2012 Share Posted November 1, 2012 sha1 is better over md5. might be worth adding a salt to Link to comment https://forums.phpfreaks.com/topic/270149-how-to-store-password-into-mysql-table/#findComment-1389225 Share on other sites More sharing options...
Muddy_Funster Posted November 1, 2012 Share Posted November 1, 2012 crypt() using the blowfish algorithm seems to be the method of choice. see here (if you hav't already) http://php.net/manual/en/function.crypt.php for usage Link to comment https://forums.phpfreaks.com/topic/270149-how-to-store-password-into-mysql-table/#findComment-1389227 Share on other sites More sharing options...
Christian F. Posted November 1, 2012 Share Posted November 1, 2012 I recommend this article about secure login systems, it'll tell you everything you need. At least enough to get you properly started. Link to comment https://forums.phpfreaks.com/topic/270149-how-to-store-password-into-mysql-table/#findComment-1389434 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.