Oleg, 2002-Nov-10 22:11 -0500: > Hi > > How can I encrypt a file in a PLATFORM-INDEPENDENT manner using a password so > that I can decrypt it later using the same password (e.g. on a different UNIX > or Windows/Cygwin machine)? > > Thanks > Oleg
I just learned how to do this using gpg: $ gpg -c filename this creates filename.gpg and then you must delete filename. You may want to overwrite the file before deleting it to make sure it's gone. The -c option uses a symmetric cipher. You could use -e also which, I think, give you more encrypt option. To decrypt: $ gpg -d filename.gpg This spits the decrypted file to stdout. You can pipe it to a file as well. I'm still learning, but this is where I am now. I hope this helps get you started. jc -- Jeff Coppock Systems Engineer Diggin' Debian Admin and User -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]