0

I already have 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?

2

2 Answers 2

3

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.

Sign up to request clarification or add additional context in comments.

1 Comment

hmm... ok, maybe I explained that the wrong way. I just encrypted the node content without its tags.
3

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.