+ 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?
1 Answer
+ 1
If I'm not mistaken md5, sha1 algorithms have been deemed unsafe due to cryptographic collisions.