How To: Encrypt files with OpenSSL in Debian Linux

Encrypt files with OpenSSL in Debian Linux

This video shows how to encrypt files with OpenSSL in Debian Linux. First we check if open SSL is installed on the system. If not, install it using packet manager. Next create the file going to be encrypted. Now encrypt the file. In this case AES algorithm in ypher block chaining mode is used. AES is US-government standard and can be considered secure. Now we are prompted for a password. In order for the encryption to be secure, we need to choose a strong password. Now we can delete the original file. In this encrypted file we can see it is Base64 encoded so we can paste it to an email or something. Now we decrypt the file by simply adding the -d flag. The output is send to the console but we could easily pipe it to another file.

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest