2

If a field is encrypted with Shield, can we get the unencrypted value with Apex classes/SOQL statements?

5

Shield Platform Encryption provides encryption for data at rest. While it does impact your ability to interact with the field data in specific ways primarily around sorting and aggregation (see General Shield Platform Encryption Considerations), data from encrypted fields will be presented to your code in plaintext. Your code will never see the encrypted form of the data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.