Encrypt/Decrypt File using OpenSSL in Linux

Works on OS X, Linux, anywhere with OpenSSL installed:

To encrypt a file:


openssl des3 -salt -in infile.txt -out encryptedfile.txt

To decrypt the file:


openssl des3 -d -salt -in encryptedfile.txt -out normalfile.txt
Author: Binny V A
A philosopher programmer who specializes in backend development and stoicism.

Leave a Reply

Your email address will not be published. Required fields are marked *