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 Quote 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. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.