Re:Simply Secure PHP Cryptography
by aruggirello on Thursday July 13, 2017 @03:04PM
(#14764179)
PHP has had a dedicated password hashing function since version 5.5: it's password_hash().
But at least, if you want to roll your own password hashing, do it right: use hmac, salting, stretching and a decent hash function - or use bcrypt/scrypt and save yourself a few headaches.
Re:Simply Secure PHP Cryptography
by stephenr on Thursday July 13, 2017 @03:08PM
(#14764215)
I'm well aware of that. The original comment suggested that password hashing is bad, I was trying to identify what the poster thought should be used instead.
But at least, if you want to roll your own password hashing, do it right: use hmac, salting, stretching and a decent hash function - or use bcrypt/scrypt and save yourself a few headaches.