+ 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