Encrypting fields places some limits on what you can do with filters and Visualforce pages.
The following limitations apply to fields encrypted with Classic Encryption.
- Encrypted fields are not available for use in filters such as list views, reports, roll-up summary fields, and rule filters.
- You can use encrypted fields in email templates but the value is always masked regardless of whether you have the “View Encrypted Data” permission.
- Only the <apex:outputField> component supports presenting encrypted fields in Visualforce pages.