Tuesday, April 27, 2010

Install Adobe Cs3 Insert The Cs3 Master Cd

create encrypted file systems with Ubuntu

Several ways to encrypt files on Linux systems, in fact the following url https: / / help.ubuntu.com / community / EncryptedFilesystems As an example we use a form without entering into discussions on whether it is the best or the worst.

First we will create a file with random data will contain the file system and encrypted so no one can see its contents.

To test it with a 100MB file.
sudo dd if = / dev / urandom of = warehouse bs = 1M count = 100 Now we associate a loop type device with the file containing the encrypted file system. We must do this because we will treat the file as a block device (device loop + = block device file.) This is done with the losetup command and how to encrypt must specify the encryption algorithm. In this case it will use Blowfish with 2048-bit key. There is more algorithms: XOR, AES128, AES192, AES256, twofish128, twofish160, twofish192, twofish256, blowfish128, blowfish160, blowfish192, blowfish256, serpent128, serpent192, serpent256, mars128, mars192, mars256, rc6-128, rc6-192,-rc6 256, tripleDES ... sudo losetup-e blowfish2048 / dev/loop0 store " to install the module for encryption to be used.

sudo apt-get install loop-aes-utils sudo losetup-e blowfish2048 / dev/loop0 store

Now create the file system (format) within the file.


sudo mkfs-t ext3 / dev/loop0 following is create a mount point for encrypted file system and mount it. sudo mkdir / mnt / encrypted sudo mount-t ext3 / dev/loop0 / mnt / encrypted Finally, once you have finished using the file system, you have to dismantle and remove the association between the loop device and the file that contains the file system.
sudo umount / mnt / encrypted
sudo losetup-d / dev/loop0




0 comments:

Post a Comment