I have a datatable that has about 1000 rows of data that I need to encrypt.
I have written the datatable out to XML and encrypted it using Rijndael and
DES encryption. I have decrypted it and tied it back to a datagrid
successfully. The purpose is to encrypt the data to go across the line for
a web service. The question I have is--Is there a good way to encrypt a
datatable using Rijndael or DES encryption that is quicker? Right now this
method takes close to 10 minutes to encrypt the data table. That is just to
long. I have suggested using a call back to notify the client when the
webservice is done processing, but I need shorter times. Any thoughts,
suggestions, code?
John Wright
> I have a datatable that has about 1000 rows of data that I need to
> encrypt. I have written the datatable out to XML and encrypted it
[quoted text clipped - 7 lines]
> is done processing, but I need shorter times. Any thoughts,
> suggestions, code?
There is no need to encrypt the data the way you are doing now...
You can encrypt a web service call using SSL. Otherwise, load Web Service
Enhancement and WS-Security contains the ability to encrypt web service
messages at the message level.
John Wright - 05 Jul 2007 21:23 GMT
SSL is no faster, and in fact much slower since it has to encrypt the whole
message not just the data table. WS-Security is not an option right now due
to interactions with old Java Programs that have no support for WS-Security.
John WRight
>> I have a datatable that has about 1000 rows of data that I need to
>> encrypt. I have written the datatable out to XML and encrypted it
[quoted text clipped - 13 lines]
> Enhancement and WS-Security contains the ability to encrypt web service
> messages at the message level.
Spam Catcher - 05 Jul 2007 22:42 GMT
> SSL is no faster, and in fact much slower since it has to encrypt the
> whole message not just the data table. WS-Security is not an option
> right now due to interactions with old Java Programs that have no
> support for WS-Security.
Your current encryption takes 10 minutes!
I'm sure IIS' SSL implementation is faster than 10 minutes ;-)