What is the best way to do hashing an XML document in C #? I would like to hash an XML document so that I can determine if it has been manually modified since it was created. I do not use this for security - it’s normal if someone changes the XML and changes the hash to match.
For example, I would haveh child nodes of the root and save the hash as a root attribute:
<RootNode Hash="abc123"> </RootNode>
c # xml hash canonicalization
M. Dudley
source share