TrueCrypt已经停止更新,可以考虑使用VeraCrypt替代,参看 Alternatives#VeraCrypt

TrueCrypt,是一款免费开源的加密软件,同时支持Windows Vista,7/XP, Mac OS X, Linux 等操作系统。TrueCrypt不需要生成任何文件即可在硬盘上建立虚拟磁盘,用户可以按照盘符进行访问,所有虚拟磁盘上的文件都被自动加密,需要通过密码来进行访问。TrueCrypt 提供多种加密算法,包括:AES-256, Blowfish (448-bit key), CAST5, Serpent, Triple DES, and Twofish,其他特性还有支持FAT32和NTFS分区、隐藏卷标、热键启动等。

https://truecrypt.ch/downloads/

Get X64 version:
truecrypt-7.1a-linux-console-x64.tar.gz [sign by hatter] [sign by author]

SHA256: 3f48210cca1c17f433572845586d5e2a1a717a545480d136cb970689a44e3c32

Check system is 32bit or 64bit (X86 or X86_64):

# file /sbin/init

Install FUSE:

# yum install libfuse
# yum install fuse-libs

Get TrueCrypt and Install:

# wget https://download.truecrypt.ch/current/truecrypt-7.1a-linux-console-x64.tar.gz
# tar xfvz  truecrypt-7.1a-linux-console-x64.tar.gz 
# ./truecrypt-7.1a-setup-console-x64

Create Vol:

# truecrypt -c <FILE>

Mound Vol:

# truecrypt --mount <FILE>

Unmount Vol:

# truecrypt -d

Create

# truecrypt -c disk1.tc
Volume type:
 1) Normal
 2) Hidden
Select [1]: 1

Enter volume size (sizeK/size[M]/sizeG): 100M

Encryption algorithm:
 1) AES
 2) Serpent
 3) Twofish
 4) AES-Twofish
 5) AES-Twofish-Serpent
 6) Serpent-AES
 7) Serpent-Twofish-AES
 8) Twofish-Serpent
Select [1]: 1

Hash algorithm:
 1) RIPEMD-160
 2) SHA-512
 3) Whirlpool
Select [1]: 2

Filesystem:
 1) None
 2) FAT
 3) Linux Ext2
 4) Linux Ext3
 5) Linux Ext4
Select [2]: 2

Enter password: 
Re-enter password: 

Enter keyfile path [none]: 

Please type at least 320 randomly chosen characters and then press Enter:


Done: 100.000%  Speed:   35 MB/s  Left: 0 s         

The TrueCrypt volume has been successfully created.

Mount

# truecrypt --mount disk1.tc 
Enter mount directory [default]: 
Enter password for /root/disk1.tc: 
Enter keyfile [none]: 
Protect hidden volume (if any)? (y=Yes/n=No) [No]: 

Unmount

# truecrypt -d

BitLocker

BitLocker is a full disk encryption feature included with select editions of Windows Vista and later in January 2007. It is designed to protect data by providing encryption for entire volumes.

CipherShed

https://www.ciphershed.org/

CipherShed is free (as in free-of-charge and free-speech) encryption software for keeping your data secure and private. It started as a fork of the now-discontinued TrueCrypt Project. Learn more about how CipherShed works and the project behind it.

Cryptsetup

https://gitlab.com/cryptsetup/cryptsetup

Cryptsetup is a utility used to conveniently set up disk encryption based on the DMCrypt kernel module.

FileVault

FileVault is a disk encryption program in OS X 10.3 and later. It performs on-the-fly encryption with volumes on Mac computers.

loop-AES

https://sourceforge.net/projects/loop-aes/

Fast and transparent file system and swap encryption package for linux. No source code changes to linux kernel. Works with 5.x, 4.x, 3.x, 2.6, 2.4, 2.2 and 2.0 kernels.

VeraCrypt

https://www.veracrypt.fr/

VeraCrypt is a free disk encryption software brought to you by IDRIX (https://www.idrix.fr) and that is based on TrueCrypt 7.1a.