Software projects, articles and tutorials

Downloads RSS

Data Encryption

A very quick look at data encryption; USB flash media and computer hard drives... To be continued.

Encrypting USB media
Encrypting hard drives
A challenge

Encrypting USB media

Encrypting USB media is very simple, but the downside to this tutorial is that your USB drive will not work on Windows computers.

Run the following commands to set up your encrypted USB drive. This will destroy all data on the drive!

CommandComment
cryptsetup luksFormat /dev/sdb1
cryptsetup luksOpen /dev/sdb1 enc
mount /dev/mapper/enc /mnt/usb

umount /mnt/usb
cryptsetup luksClose /dev/mapper/enc
Or name of your partition
You can change "enc" to anything you like
Choose any mount point here
You can now use /mnt/usb as usual

Encrypting hard drives

There are a number of ways to encrypt your hard drive. Most linux-based operating systems give you an option to set up encryption during the installation, but this tutorial will cover a method you can use on a system that already has an operating system installed. To be continued...

A challenge

In an interest of encryption security, a file has been available online for anyone to try and decipher.

Can you decipher this encrypted file? (Uploaded on 26/02/2010). This is a text file with some instructions/questions inside. It is encrypted with The GNU Privacy Guard.

This file has been available online for 6 months and 10 days without being deciphered.