Activity › Forums › Salesforce® Discussions › How can I use encrypted field data in Salesforce Apex code? Tagged: Encrypted Field, Encryption, Salesforce Apex, Salesforce Apex Class, Salesforce Apex Code, Salesforce Apex Controller Salesforce® Discussions How can I use encrypted field data in Salesforce Apex code? Posted by Ratnakar on January 15, 2018 at 1:26 PM How can I use encrypted field data in Apex code? PRANAV replied 8 years, 4 months ago 3 Members · 2 Replies Encrypted FieldEncryptionSalesforce ApexSalesforce Apex ClassSalesforce Apex CodeSalesforce Apex Controller 2 Replies Charan Tej Member January 15, 2018 at 1:29 PM Check this documentation http://developer.force.com/cookbook/recipe/storing-and-displaying-confidential-information http://forceguru.blogspot.ae/2011/05/encrypted-fields.html [adinserter block='9'] PRANAV Member January 15, 2018 at 3:35 PM Hi, I want to add a point here, that only users with profiles that have the “View Encrypted Data” permission selected are able to view the encrypt field. May be this may helps you. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me