What is VeraCrypt?
VeraCrypt is a free, open-source disk encryption tool. It creates encrypted containers (virtual encrypted disks) or encrypts entire partitions and drives. Your data is protected with strong encryption algorithms, accessible only with your password.
VeraCrypt is the successor to TrueCrypt and is available for Windows, macOS, and Linux.
VeraCrypt is ideal for protecting sensitive files on your computer, USB drives, or external hard drives. If your device is lost or stolen, encrypted data remains inaccessible.
Installing VeraCrypt
Windows
Linux (Ubuntu/Debian)
# Download the latest .deb package from veracrypt.fr, then:
sudo dpkg -i veracrypt-*.deb
sudo apt-get install -f # Fix any dependency issues
Creating an Encrypted Container
An encrypted container is a file that acts as a virtual encrypted disk. This is the easiest way to start with VeraCrypt.
my_vault)
There is no password recovery for VeraCrypt. If you forget your password, your data is permanently inaccessible. Store a backup of your password in a secure password manager.
Mounting and Using Your Container
To access your encrypted files:
The container now appears as a regular drive. You can copy files in and out normally.
When finished, always dismount the volume by selecting it and clicking "Dismount." This locks the container and protects your data.
Best Practices
- Always dismount when you are done working with encrypted files
- Back up your container file regularly (it is just a file you can copy)
- Use a strong, unique password that you store in a password manager
- Keep VeraCrypt updated for the latest security fixes
- Do not store the container on cloud storage without additional precautions, as partial syncs can corrupt it
Summary
In this tutorial, you learned:
- What VeraCrypt is and when to use it
- How to install VeraCrypt on Windows and Linux
- Creating an encrypted file container step by step
- Mounting, using, and dismounting encrypted volumes
- Best practices for keeping your encrypted data safe
Even if someone gains physical access to your computer or drive, your VeraCrypt container remains locked without the password.