How much more safe is this than plain MD5? I\'ve just started looking into password security. I\'m pretty new to PHP.
$salt = \'csdnfgksdgojnmfnb\';
$passwo
I want to add:
For compatibility with old systems often set a limit for the maximum length of the password. This is a bad security policy: if you set restriction, set it only for the minimum length of passwords.
For recovering a forgotten password you should send the address by which user can change the password.
The password hash may be out of date (parameters of the algorithm may be updated). By using the function password_needs_rehash() you can check it out.