function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dgdeyo09dgdeyo09 

Decrypt custom encrypted field in javascript

Hi,

 

I am writing a js app which gets an encrypted field from SF. I need to be able to validate the encrypted field but I need to decrypt it first. Any pointers on how to do this would be greatly appreciated.

Satish_SFDCSatish_SFDC
If the profile of this user has the 'view encrypted data' permission turned on, the user should be able to see the decrypted values.

Regards,
Satish Kumar