title: PHP: What maximum length to set a password field in a database?
body: <p>when I hash my password using <code>hash('sha512', $salt . $password);</code>, should the maximum length in the password column in the database be 512 or does it matter if it gets chopped down? Or can it possibly be longer than 512? Thanks.</p>