• Hello! If you are not a bot and are interested in creating an account, contact us using the contact us form at the bottom of the page.

Encrypting & decrypting files in Terminal on Macintosh

DarkMaster

The Boss
Administrator
Messages
30
Reaction score
0
Points
27
First, launch the Terminal program.

To encrypt a file, type the following and press enter:

Code:
Openssl enc -aes-256-cbc -e -in **FILEPATH** -out **NEW FILEPATH**

Enter a password after this command.




To decrypt a file, type the following and press enter:

Code:
Openssl enc -aes-256-cbc -d -in **FILEPATH** -out **NEW FILEPATH**

Enter the password created when encrypting the file after this command.
 
Back
Top