MySQL: what data type to use for hashed password field and what length?

Posted by z-boss on Stack Overflow See other posts from Stack Overflow or by z-boss
Published on 2008-10-29T15:44:47Z Indexed on 2010/05/29 7:12 UTC
Read the original article Hit count: 128

Filed under:
|
|
|

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 characters, but as I understand after encrypting hash string will be of different length.
So, how to store these passwords in the database?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about datatypes