views:

44

answers:

2

I am making a web service that the data has to be Encrypted, I have it working with a string but the device that are going to be pulling the data from the web server will be looking for something that is xml base. I try a dataset that is the correct format but still the Triple DES function will only take a string.

Let me know if there is anyway to Encrypted a dataset.

+2  A: 

Serialize the dataset and use the TripleDES class, which does encryption on byte-arrays.

BlueRaja - Danny Pflughoeft
+1  A: 

Do the clients of your web service understand the WS-Security protocols? If so, then create the service in WCF, implement message security, and it should "just work".

John Saunders