Ccrypt

From Wiki
Revision as of 01:20, 15 January 2021 by Scott (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

apt install ccrypt

To encrypt a file called myfile.txt:

ccrypt -e myfile.txt  OR
ccencrypt myfile.txt

You will be asked for your password twice. The file myfile.txt will be replaced with a file named myfile.txt.cpt.

To decrypt myfile.txt.cpt:

ccrypt -d myfile.txt.cpt  OR
ccdecrypt myfile.txt.cpt

Enter the password at the prompt. The encrypted file will be replaced with a decrypted myfile.txt.