VeraCrypt
VeraCrypt
Basically a replacement for TrueCrypt. It adds some security enhacements like a PIM (like a PIN, but mathematical purpose).
VeraCrypt is a free and open-source utility for on-the-fly encryption (OTFE). The software can create a virtual encrypted disk that works just like a regular disk but within a file. It can also encrypt a partition or (in Windows) the entire storage device with pre-boot authentication.
VeraCrypt is a fork of the discontinued TrueCrypt project. It was initially released on 22 June 2013. Many security improvements have been implemented and concerns within the TrueCrypt code audits have been addressed. VeraCrypt includes optimizations to the original cryptographic hash functions and ciphers, which boost performance on modern CPUs. [1]
Code:
Linux Command Line
Install: (Ubuntu)
apt install veracrypt
Create volume:
veracrypt -c [enc_file]
Mount volume:
veracrypt [enc_file] [mount_point]
Unmount volume:
veracrypt -d [mount_point] veracrypt -d # unmount all
Mount with password passed in:
veracrypt CRYPTFILE CRYPTDIR -p 'PASSWORD' -k "" --pim=0 --protect-hidden=no echo "PASSWORD" | veracrypt CRYPTFILE CRYPTDIR -p "" -k "" --pim=0 --protect-hidden=no
Tutorial
VeraCrypt tutorial https://veracrypt.eu/en/Beginner%27s%20Tutorial.html