Can anyone help me, I'm using AES_ENCRYPT (string, string_key) ( manual ) for do cryptographic with key.
Veja minha sintax. INSERT INTO trava (codigoliberacao) VALUES (AES_ENCRYPT('123456789', 'Chave'));
ie. insert into table (field) values (AES_ENCRYPT ('Value', 'Key'));
The mysql msg responds (1 row (s) affected, 1 warning (s)).
But in the normal query, the encryption does not appear, ie it is as if the field has been left blank. See the images