When you use the mcrypt_encrypt command to encrypt, you know that the returned crypttext string can be larger that the size of the data that is encrypted.
So your MySQL table column must be large enough to hold the largest.
Since it is a password, it will probably no longer than 24 chars.
To be on the safe side, it does not hurt to make the table column a VARCHAR with enough chars to contain your crypt result.
Comment