Hy guys,
I tried to put the AES_DECRYPT function into a WHERE statement doing the following:
SELECT * FROM tb_user WHERE pwd = AES_DECRYPT(AES_ENCRYPT("stringPWD","key"),"key");
but MySql always returns an empty set ...key and pwd are correct. Does anybody know the right way to do it?
Thanks :-)