Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I encrypt data that I am sending to external web-service from visualforce page. I also need to decrypt that data on web-service's end. Is there built-in feature for something like this?

share|improve this question
Apart from Martin answers… In case you may need URL encode and base 64 encode and decode use… – Mohith Shrivastava Dec 27 '12 at 12:51
up vote 8 down vote accepted

Using https to talk to your endpoint ought to be good enough for most use cases?

If you want to encrypt something manually, take a look at the Crypto-class:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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