Base64 encodes binary data as ASCII characters so applications can store values that are difficult to print. In password storage, it can represent a binary hash as a character string suitable for a CHAR column. section 7.4
Encoding a password hash
A bcrypt hash may produce 40 bytes of binary data. Base64 encoding expands that value to 60 bytes, so the password column should use CHAR(60) rather than VARCHAR(20). section 7.4






