Salesforce have ability to display the secured data in encrypted format. It is salesforce out of box functionality. You can create new Text(Encrypted) using “Custom Fields & Relationships” on the object.
- User can’t see the customer full SSN/CreditCard number
- If user really want to see user profile have option to enable. Profile permission is “View Encrypted Data”
- Can’t use encrypted field in the report/listview/global search filter criteria
- Can’t use use in SOQL query where condition. You will get below error while using encrypted field in the query filter condition