Ccrypt: Difference between revisions

From Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{lowercase title}}
{{lowercase title}}
May be obtained here: http://ccrypt.sourceforge.net/
<pre>
apt install ccrypt
</pre>


To encrypt a file called <code>myfile.txt</code>:
To encrypt a file called <code>myfile.txt</code>:

Latest revision as of 01:20, 15 January 2021

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.