How to Encrypt/Descrypt Xml files?

I am using TinyXml2 to save data.

While it is able to read/write data in the Xml file, I would like to know whether it is possible to encrypt/decrypt the file. Some data is used for leaderboard and should not be viewed by Players easily.

Thanks