Link to home
Start Free TrialLog in
Avatar of dash420
dash420Flag for Canada

asked on

encrypt and decript xml file.

I want to encrypt an decrypt xml file depending upon the key. Do any one provide me any informations/ code for this.

 
ASKER CERTIFIED SOLUTION
Avatar of testn
testn

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dash420

ASKER

hi all
thanks for the coments. I forgot to tell i am using asp.net.
Avatar of iboutchkine
iboutchkine

I think the code I gave you will work in ASP.NET
Avatar of dash420

ASKER

it is for the vb.net as it is quitely visible
System.Windows.Forms.Form

I know that. But from here you can get all the code you need for ASP.NET
Avatar of dash420

ASKER

i will try and let u know.
> it is for the vb.net as it is quitely visible
> System.Windows.Forms.Form

This forum might give you strategic help but
thinking has still to be done by yourself :-)

regards
foo
Avatar of Bob Learned
No comment has been added lately, so it's time to clean up this TA.
I  will leave the following recommendation for this question in the Cleanup topic area:

SPLIT: testn{8411815} & iboutchkine{8412440}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
ok, this is a relevant question.
what does the dataset become after encryption? is it still a dataset? or an array of bytes?

could one write:

private DataSet  EncryptDataSet(DataSet ds)
{

//encrypt dataset here......

return encrypted dataset;
}