Secure MySQL encryption
suggest changeThe default aes-128-ecb uses Electronic Codebook (ECB) mode, which is insecure. Prefer CBC and pass a 16-byte initialization vector as the third argument of AES_ENCRYPT() and AES_DECRYPT(). The AES block is 16 bytes even with a 256-bit key. Add the following to the configuration file:
block_encryption_mode = aes-256-cbc
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents