It is good practice to not store passwords in cleartext, instead when checking a whole password it is common to store the result of passing the password to a cryptographic hash function.
It is good practice to not store passwords in cleartext when checking a whole password. This is instead. It is common to store the result of passing the password to a cryptographic hash function a whole password.