ccrypt
installation
For simple file encryption :
| encrypt a file | |
|---|---|
Results in file.cpt, decrypting it back to file would be :
| decrypting | |
|---|---|
But that's mostly not what you want, since you would have to encrypt it again. So use -c or the command ccat to do it to stdout :
Or redirect it to file, there is no -o option :
| ccat into file | |
|---|---|
Also i see no option for changing the key, but decrypt and encrypt again works perfectly. Also these autocommands in vim (taken from : visit) work out of the box :
I added these to the .vimrc file in bitbucket.