79522611

Date: 2025-03-20 10:31:50
Score: 2.5
Natty:
Report link

You should actually use password_hash() and password_verify() for passwords instead of hash_equals(), if the database with passwords already exists and you cannot change them directly, you can setup a way to automatically upgrade the users to password_hash the next time they log in

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Luigi Corciulo