+ 3

Do you think the password_hash() is the most secure way to encrypt a password before storing it in a database?

Or do you prefer something else like md5, sha1 or crypt?

6th Jun 2020, 7:59 AM
Piotr Kraj
Piotr Kraj - avatar
1 Resposta
+ 1
If I'm not mistaken md5, sha1 algorithms have been deemed unsafe due to cryptographic collisions.
6th Jun 2020, 8:43 AM
Jay W