Never store readable passwords in a table
Tip: Never store readable passwords in a table
Instead of storing a user password in readable form, it is recommended to store the password as a hash. Even when a hacker would be able to read the password table, a hashed password would be of no use.
Storing a password as a salted hash in the industry standard. A hash is like a fingerprint of the data for wich the hash was calulated. The hash is always fixed size. You can randomize hashes by appending or prepending a random string, called a salt, to the password before hashing. This prevents a hacker from looking up passwords in a so called "reverse lookup table." Here is good information of salted hashes: https://crackstation.net/hashing-security.htm
Created with the Personal Edition of HelpNDoc: Easily create Web Help sites