Posts Tagged With: ssl

Generate Password

Tagged with: , , , , ,

Command to generate a random password…


openssl rand -base64 6
No Comments »

Encrypt/Decrypt File using OpenSSL in Linux

Tagged with: , , , , , ,

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
No Comments »