Posts

Showing posts with the label XMLSec

Encryption/Decryption of XML file

Image
You might have encrypt and decrypt a sting value using various cryptographic algorithms and you might have build C programs for that as well. In this tutorial I am going to show you how to Encrypt and Decrypt a XML file using OpenSSL and XMLSec. Things you need: XML file - The file you need to encrypt/decrypt OpenSSL - To generate public/private keys XMLSec - To encrypt/decrypt XML file Template file - Needed for encryption Step 1: Locate your XML file.