Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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
1  
Apart from Martin answers blog.jeffdouglas.com/2010/07/06/… In case you may need URL encode and base 64 encode and decode use salesforce.com/us/developer/docs/apexcode/Content/… –  Mohith Shrivastava Dec 27 '12 at 12:51

1 Answer 1

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:

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful_crypto.htm

http://wiki.developerforce.com/page/Apex_Crypto_Class

share|improve this answer

Your Answer

 
discard

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.