How to encrypt salesforce data and send it through rest api to third party system?

I need some sample code to get started.

Thanks in advance.


Apex includes the Crypto class that:

Provides methods for creating digests, message authentication codes, and signatures, as well as encrypting and decrypting information.

In addition to all the sample calls in the docuemntation linked above there is also Using the Apex Crypto Class, which has further examples.

You could also browse other crypto question on this site.

| improve this answer | |

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.