+ Start a Discussion
certi_vimalcerti_vimal 

How are Encrypted Fields stored in the database?


Hi,

 

I understand that depending on "View Encrypted Data" Profile permission, users can view masked/unmasked Encrypted field data.

 

However, what is stored in the database? Is it encrypted version/decrypted version of data? What result will come once you query for the field?

 

Please advise.

 


Thanks,

 

Vimal

BrendanOCBrendanOC

Encrypted fields are stored using AES 123 encryption in the database.

 

https://<your instance>.salesforce.com/help/doc/user_ed.jsp?section=help&target=fields_about_encrypted_fields.htm&loc=help&hash=topic-title