Ccrypt: Difference between revisions

From Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 4: Line 4:
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 12:
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>.

Revision as of 01:19, 15 January 2021

May be obtained here: http://ccrypt.sourceforge.net/

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.