update customer set password= sha2(concat(customer_id,email,'daleatucuerpoalegriamacarena'),512); SELECT * FROM customer where password=sha2(concat(44,'MARIE.TURNER@sakilacustomer.org','daleatucuerpoalegriamacarena'),512); update customer set mail_crypt=aes_encrypt(email,'daleatucuerpoalegriamacarena'); SELECT * FROM customer where cast(aes_decrypt(mail_crypt,'daleatucuerpoalegriamacarena') as char) like 'c%';