MySQL aes_encrypt padding scheme?
aes, encryption, mysql, padding
Solution
The data padding is done per RFC3369/PKCS#5. Keys are zero padded. Unfortunately, neither of these are documented, but I got the information from this bug report:
http://bugs.mysql.com/bug.php?id=16713
Problem
Does anyone know what padding scheme mysql uses for their aes_encrypt? I've done a lot of googling, and all I found was "byte padding". But that's too general! Thanks