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:


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s