How to easily encrypt any file or directory with Mcrypt on Linux System -

In this config we will show you a number of examples how to use mcrypt tool to easily encrypt files whether the file is large or small in size. We will also use Mcrypt to encrypt and compress files and directories on the fly which can be usefully for a number of backup and scripting purposes. Mcrypt installation
This is a companion discussion topic for the original entry at