select length(encrypt('foo', 'ff')) <> 0; length(encrypt('foo', 'ff')) <> 0 1 select password('test'),length(encrypt('test')),encrypt('test','aa'); password('test') length(encrypt('test')) encrypt('test','aa') 378b243e220ca493 13 aaqPiZY5xR5l.