Encrypt/decrypt a file on Mac/Linux
- Open Terminal and issue this command:
openssl des3 -salt -in filename.txt -out filename.txt.encrypted
Replace filename.txt with the name of the file you want to encrypt :)
- Decrypt the encrypted file:
openssl des3 -d -salt -in filename.txt.encrypted -out filename.txt.decrypted
Never ever forget the password you used, you must have it to decrypt the file...
Use at your own risk.
Written by Pål Orby
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#