random1 Posted June 17, 2011 Share Posted June 17, 2011 What is the current best (most secure) one-way password encryption method in PHP? So far I think that: echo hash('sha512', $password . $salt); is the most secure. I'd really love some more help from someone who has far more experience than me Link to comment https://forums.phpfreaks.com/topic/239614-best-password-one-way-encryption-method/ Share on other sites More sharing options...
revraz Posted June 17, 2011 Share Posted June 17, 2011 sha or md5 with a salt are both effective. Link to comment https://forums.phpfreaks.com/topic/239614-best-password-one-way-encryption-method/#findComment-1230900 Share on other sites More sharing options...
random1 Posted June 17, 2011 Author Share Posted June 17, 2011 I found: http://cslyon.net/2011/05/10/sha-512-w-per-user-salts-is-not-enough/ But I'm not sure how accurate it is. Link to comment https://forums.phpfreaks.com/topic/239614-best-password-one-way-encryption-method/#findComment-1230931 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.