# umount /dev/sda1
# dd if=/dev/urandom of=/dev/sda1
# cryptsetup –verbose –cipher “aes-cbc-essiv:sha256” –key-size 256 –verify-passphrase luksFormat /dev/sda1
# cryptsetup luksOpen /dev/sda1 encr-sda1
# mkfs.vfat /dev/mapper/encr-sda1
# mount /dev/mapper/encr-sda1 /mnt/tmp
Do copy, etc on /mnt/tmp
# umount /mnt/tmp
# cryptsetup luksClose encr-sda1
To mount use:
# cryptsetup luksOpen /dev/sda1 encr-sda1
# mount /dev/mapper/encr-sda1
To unmount use:
# umount /dev/mapper/encr-sda1
# cryptsetup luksClose encr-sda1
Note that file system choice will determine how much size the drive will be. FAT16 will be max of 20 mb and VFAT is > 32 mb.