0

I'm loading the data into dataset form SQL Server. Now I wanna this data to be write in XML file in encrypted form and save it somewhere in disk.

On reading this XML into dataset, I wanna dataset to be encrypt again.

I have used "RijndaelSimple class to encrypt and decrypt dataset, but it takes much time to complete execution as it do it row by row in dataset. I have around 50000 rows in dataset.

Is there any other option I have to encrypt and decrypt dataset on a go?

Martin Thorsen Ranang
  • 2,394
  • 1
  • 28
  • 43
Rajeev Kumar
  • 4,901
  • 8
  • 48
  • 83
  • What problem are you trying to solve? Do you really need that rigorous of an encryption scheme, or do you just need to hide the data from the user casually? – Robert Harvey Jan 04 '13 at 06:05
  • I have some sensitive info in xml file. so i just need to save it to my disk in decrypeted form. On reading this xml using ds.ReadXml(), i wanna this dataset to be encypt again. i am using c# – Rajeev Kumar Jan 04 '13 at 06:08
  • 2
    OK, so you're currently using [`RijndaelManaged`](http://msdn.microsoft.com/en-us/library/system.security.cryptography.rijndaelmanaged.aspx) class? I don't see a `RijndaelSimple` class in the MSDN documentation. – Robert Harvey Jan 04 '13 at 06:14

0 Answers0