Create and Mount an Encrypted Block Device Using dm-crypt
In this lab you will create an encrypted block device using
dm-crypt and LUKS. Then you will open the encrypted device and create a filesystem on it.
You are working as a System Administrator at a large financial institution and have been tasked with enabling whole-disk encryption on a portable drive. The portable drive is attached as
/dev/loop0 to the user's workstation, which is running the CentOS Linux 7.7 operating system.