Solved

C# - XML serialization with encryption and decryption

Posted on 2013-06-20
2
988 Views
Last Modified: 2013-06-23
I writing object into file using XML serialization.

Now I would like to be able to add encryption to write/read the XML serialization object?

What is the best and effective way to do that?
0
Comment
Question by:tommym121
2 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 39263638
U can encrypt xml element with the sensitive data while keeping the xml file structure or encrypt the whole xml.
The 1st approach used when u need to encrypt only portion of the xml.
Both approaches can use different encryption methods provided by .net.
Here an example from msdn:
http://msdn.microsoft.com/en-us/library/ms229746.aspx
0
 

Author Closing Comment

by:tommym121
ID: 39269209
Thanks
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question