开发者

C# encrypt whole XML File

I already h开发者_开发知识库ave a solution for encrypting of several XML nodes or strings. But of course, you can open the local saved XML file and you should see the node tags. For some intelligent people it could be a reference for hidden informations.

Is there any way to encrypt and decrypt the whole xml content including all node tags?


If you already know how to a encrypt a node, you can encrypt the root node which would be equivalent of encrypting the whole XML.


If you consider an XML as a simple string, you can just convert it to string and do the encryption of that string. ON the other side they just decrypt it and that's it!

How about that? :)

Or, to make things more juicy, you can encrypt all nodes, and then encrypt XML string that contains encrypted nodes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜