I have to encrypt/decrypt some sensitive information in a Xml file?
Yes I can do that by writing my own custom algorithms. I am wondering if there is already a built in way in .NET to do that and also what points I always need to take care..
I have to encrypt/decrypt some sensitive information in a Xml file? Yes I can
Share
Here’s a couple of functions that use the .NET framework to encrypt and decrypt a string:
Of course I don’t advise hardcoding the key and initialisation vector like this 🙂