I\'m not sure how password hashing works (will be implementing it later), but need to create database schema now.
I\'m thinking of limiting passwords to 4-20 charact
You can actually use CHAR(length of hash) to define your datatype for MySQL because each hashing algorithm will always evaluate out to the same number of characters. For example, SHA1 always returns a 40-character hexadecimal number.
CHAR
SHA1