From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment

Unlock this course with a free trial

Join today to access over 24,300 courses taught by industry experts.

Encryption in Linux

Encryption in Linux

- Let's briefly talk about encryption in Linux and run a quick mini lab. Encryption is the process of converting plaintext into ciphertext. This is usually done with some type of cryptographic key. The whole point, so other users can't read your data, or so you can select who can read your data. Only those who hold the appropriate key can decipher the information. Now, as a note, keep in mind that encryption is a learning course all of its own. We could spend weeks on it. My goal is just to show a little bit of the basics and one example within Linux, and maybe a tiny bit of the beyond. So here's our mini lab. What we're going to do is we're going to install GPG. So that's the GNU Privacy Guard, and that's a free replacement of Symantec's PGP. And that's only if you don't already have it installed. But we'll do the installation of that, if need be. Then we're going to access our /tmp directory and work within the tmp directory. If we restart the system, anything in there will be lost,…

Contents