Easy File Encryption Decryption with CCrypt

CCrypt is in most Linux repos. I use it on Crunchbang Statler (Debian Squeeze) to encrypt and decrypt files quickly with nothing more than two commands and a password.

Firstly install Ccrypt:
sudo apt-get install ccrypt

Now create a test file and add some basic text:(I put encrypt decrypt)
nano encrypt-test.text

Now encrypt the file (it’ll ask for a password twice):
ccrypt encrypt-test.txt

Now open it and it is unreadable:
nano encrypt-test.txt

To decrypt: use the “-d” switch
ccrypt -d encrypt-test.txt

More information:

http://ccrypt.sourceforge.net/


About rich scadding
Father, Husband, Linux Geek…. In That Order

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>