select HEX(AES_ENCRYPT('12345','my_key')); SELECT AES_DECRYPT(UNHEX('798FDB91337F99488A0FAE94AB45AD48'),'my_key')