SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Oct 2013
    0 Post(s)
    0 Thread(s)

    Requesting Help Please: Extending MySQL Db Encryption from AES 128 to 256 Bit


    We are looking for more detail on how to extend the MySQL database encryption from the default AES 128 to 256 bit. Here is the blurb from the MySQL 5.5 documentation:
    "AES_ENCRYPT() and AES_DECRYPT() implement encryption and decryption of data using the official AES (Advanced Encryption Standard) algorithm, previously known as “Rijndael.” The AES standard allows various key sizes. These functions implement AES with a 128-bit key length, but you can extend them to 256 bits by modifying the source. The key length is a trade off between performance and security."

    Does anyone have more detail on how to accomplish this within MySQL beyond the very vague "by modifying the source" statement? Any assistance or push in the right direction would be greatly appreciated. Thanks for you time!

    Best Regards,

    Chris M

  2. #2
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Washington, DC
    4 Post(s)
    0 Thread(s)
    What that means is that you will need to go into the source and either modify a constant somewhere or more likely just rebuild it with an appropriate flag to enable 256 bit encryption. Rumor has it the mysql source is a bit of a mess these days so I'm not sure how hard that is.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts