Posts for: #Encryption

Encrypt files with GnuPG

Here is a simple and quick way for you to encrypt files in Linux:

gpg –output doc.gpg –encrypt –recipient [email protected] original_file.doc

Further explained:

  • –output (or -o) is the name of the encrypted file
  • –recipient (or -r) is the person who will be decrypting the file. If the file is for yourself only, use the email address of your GPG key.

To decrypt:

gpg --output output_file.doc --decrypt doc.gpg

I recently used this to encrypt a sensitive file before placing it on my Dropbox account. Nice safe way to place a private document in the cloud.

[Read more]

Volume encryption with TrueCrypt

If you have important document files you want to keep safe on your computer the best way to go is with TrueCrypt. This program allows you to create an encrypted volume where you can store files, programs, or even an entire operating system.

This program is very simple to use. You first create the volume you want with its size, mount the volume (where it will appear as a real disk), and start packing it with files. Whenever you’re done using these files just unmount the volume and everything is tightly encrypted again. You can even encrypt an entire partition, including your Windows partition. The whole mounting and unmounting process takes just a few seconds.

[Read more]