just tried ccrypt from testing and it shows an odd behavior here.
When its done encrypting or decrypting,it deletes the input file....
Not odd behaviour at all considering the original precept,
'how do I encrypt the occasional
For LibreOffice & similar not a problem, it is built in.
For text files or similar, not to send to anyone, just to stop prying eyes (I assume).
Not much point keeping the plaintext in this instance and setting up a container for the odd file is a pain. Lots of ways to encrypt, as previous posts but then you have to delete the original. Not so with ccrypt.
For many people command line is a pain. It can be added to a file manager. I use Krusader and have this in my local Krusader actions file (~/.kde4/share/apps/krusader/useractions.xml)
<title>Encrypt with ccrypt</title>
<tooltip>Encrypt with ccrypt</tooltip>
<command>/home/rich/.TrueCrypt/ccrypt -e -K %aAsk("enter password","password","")% %aCurrent%</command>
<title>Decrypt with ccrypt</title>
<tooltip>Decrypt with ccrypt</tooltip>
<command>/home/rich/.TrueCrypt/ccrypt -d -K %aAsk("enter password","password","")% %aCurrent%</command>
This is still using a local ccrypt file, As you can see, I do not have a ccrypt icon and the single ccrypt file resides in my local trucrypt folder. (I use truecrypt but consider it a PITA). I will update this when ccrypt it is in the general repo. Bound to be something similar for Dolphin.
Bottom line is, depends what you want to do.