Hands-on task
Encrypt a file with openssl
/root/secret.txt holds a secret, and /root/enc.pass holds the encryption password. Encrypt secret.txt symmetrically into /root/secret.enc: algorithm AES-256-CBC, key derivation via PBKDF2 with 200000 iterations, the password taken from the file enc.pass (don't type it into the command: it would end up in the shell history and in the process list). Afterwards delete the plaintext secret.txt.
- openssl
- symmetric encryption
- aes-256-cbc
- pbkdf2
- -pass