Posts

Showing posts with the label OpenSSL

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.

Encryption using OpenSSL

Image
OpenSSL is an open source toolkit for implementing secure sockets layer (SSL) and transport layer security (TLS) protocol. It provides various cryptographic functions. Latest version is 1.0.2 released on 22nd January 2015. Visit the official website:  https://www.openssl.org/ If you have already installed any VPN or Web server then you will find openssl over there. VPN: C:\Program Files\CyberGhost 5\Data\OpenVPN\openssl.exe PHP: C:\xampp\php\extras\openssl\openssl.exe Apache: C:\xampp\apache\bin\openssl.exe MinGW: C:\MinGW\msys\1.0\bin\openssl.exe And if you don't then go to  https://www.openssl.org/related/binaries.html to download executable file.