Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. MySQL Encrypt / Decrypt datatype

MySQL Encrypt / Decrypt datatype

Scheduled Pinned Locked Moved Database
questiondatabasemysqlcomannouncement
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jassim Rahma
    wrote on last edited by
    #1

    Hi, I would like to ask how can I encrypt a datatype in MySQL? I have an employees database and need to encrypt the salary field? Thanks, Jassim[^]

    Technology News @ www.JassimRahma.com

    Kornfeld Eliyahu PeterK Richard DeemingR D 3 Replies Last reply
    0
    • J Jassim Rahma

      Hi, I would like to ask how can I encrypt a datatype in MySQL? I have an employees database and need to encrypt the salary field? Thanks, Jassim[^]

      Technology News @ www.JassimRahma.com

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #2

      Encrypt inside the database? Why?

      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      J 1 Reply Last reply
      0
      • J Jassim Rahma

        Hi, I would like to ask how can I encrypt a datatype in MySQL? I have an employees database and need to encrypt the salary field? Thanks, Jassim[^]

        Technology News @ www.JassimRahma.com

        Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote on last edited by
        #3

        Is Google not working where you are? MySQL :: MySQL 5.5 Reference Manual :: 12.13 Encryption and Compression Functions[^]


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        1 Reply Last reply
        0
        • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

          Encrypt inside the database? Why?

          Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

          J Offline
          J Offline
          Jassim Rahma
          wrote on last edited by
          #4

          because it's auditor requirement to have the salary field encrypted

          Technology News @ www.JassimRahma.com

          J 1 Reply Last reply
          0
          • J Jassim Rahma

            Hi, I would like to ask how can I encrypt a datatype in MySQL? I have an employees database and need to encrypt the salary field? Thanks, Jassim[^]

            Technology News @ www.JassimRahma.com

            D Offline
            D Offline
            david_smith01
            wrote on last edited by
            #5

            To encrypt & decrypt mysql data we will use AES_ENCRYPT() and AES_DECRYPT() functions. These functions used the official AES (Advanced Encryption Standard) algorithm & encode data with a 128-bit key length. 128 bits is much faster and secure enough for most purposes ....................... Parse alternatives

            1 Reply Last reply
            0
            • J Jassim Rahma

              because it's auditor requirement to have the salary field encrypted

              Technology News @ www.JassimRahma.com

              J Offline
              J Offline
              jschell
              wrote on last edited by
              #6

              Jassim Rahma wrote:

              because it's auditor requirement to have the salary field encrypted

              Certainly not the stupidest thing I have heard but it certainly ranks up there

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups