Ccrypt: Difference between revisions

From Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(One intermediate revision by the same user not shown)
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>:
<pre>
<pre>
ccrypt -e myfile.txt
ccrypt -e myfile.txt  OR
ccencrypt myfile.txt
</pre>
</pre>


Line 11: Line 14:
To decrypt <code>myfile.txt.cpt</code>:
To decrypt <code>myfile.txt.cpt</code>:
<pre>
<pre>
ccrypt -d myfile.txt.cpt
ccrypt -d myfile.txt.cpt  OR
ccdecrypt myfile.txt.cpt
</pre>
</pre>


Enter the password at the prompt. The encrypted file will be replaced with a decrypted <code>myfile.txt</code>.
Enter the password at the prompt. The encrypted file will be replaced with a decrypted <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.