5

Tip #484   Encrypt a file with OpenSSL

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



 
  • TAGS: