Click to See Complete Forum and Search --> : easy file encryption


idunno
02-14-2001, 10:58 AM
What's an easy way to encrypt text files?
VIM apparently has a :X command to do what I'm looking for, but the version I have (RH6.2 default) doesn't have this command implemented.

Thanks for any help

X_console
02-14-2001, 11:05 AM
If you're going to encrypt something, then you may as well go with the PGP or GnuPG. Even if it is a minor thing, you may eventually need to encrypt something important. Plus it's not hard to install or to run. Example:

gpg -eastr X_console secretfile.txt

That's it. :) You can alias that too in your .bashrc:

alias encrypt='gpg -eastr X_console'

PGP = http://www.pgp.com
International PGP = http://www.pgpi.com
GnuPG = http://www.gnupg.org