When comparing dm-crypt via LUKS vs Hider 2, the Slant community recommends dm-crypt via LUKS for most people. In the question“What are the best file encryption tools?” dm-crypt via LUKS is ranked 8th while Hider 2 is ranked 22nd. The most important reason people chose dm-crypt via LUKS is:
Encrypt whole disks, removable media, software RAID, partitions, files and logical volumes.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Flexible
Encrypt whole disks, removable media, software RAID, partitions, files and logical volumes.
Pro Native Linux support
It offers the best integration and ease of use on Linux.
Pro Free and open-source
Open-source for cryptography is a requirement, not just a bonus.
Pro Support for multiple keys/passwords
If several people should be able to decrypt a volume, each one can have their own password/key.
Pro Hides your data directly from a Finder window
Pro Easy to use
Cons
Con Requires advanced command line knowledge
In order to use dm-crypt you need to have advanced knowledge of Linux and of the command line, as well as the Linux filesystem.
However, most distros support easy creation of LUKS-encrypted drives when installing Linux transparently.