How to encrypt the email addresses for compliance with privacy and PII laws?

What are the things that would break if I implement encryption / decryption by simply overriding the getter and setter methods in the model? SQL queries on the email column will break for one. But what else?

1 Like