On Fri, Jun 24, 2011 at 1:35 PM, Tha.Suresh <[email protected]> wrote:
> Simple Encryption in command line > > To encrypt single file, use command gpg as follows: > > > *$ gpg -c filename* > > > Output: > > Enter passphrase:*<YOUR-PASSWORD>* > Repeat passphrase:*<YOUR-PASSWORD>* > > This will create a *filename.gpg* file. > > > *Option:* > > - *-c :* Encrypt with symmetric cipher. > > Caution if you ever forgot your password aka passphrase, you cannot recover > the data as it use very strong encryption. > > > more info: http://www.gnupg.org/gph/de/manual/r1023.html > > > Ex: > > To Encrypt: > [suresh@mercury Desktop]$ gpg -c test.rb > Enter passphrase: > Repeat passphrase: > > To Decrypt: > > [suresh@mercury Desktop]$ gpg test.rb.gpg > gpg: CAST5 encrypted data > Enter passphrase: > > > > > > > -- > Warm Regards, > Tha.Suresh > > > My experiences with Linux: http://thasulinux.wordpress.com > Cooool Linux Tips & Tricks: http://gnutips.wordpress.com > Free/Open Source Jobs: http://fossjobs.in > > -- > Mailing list guidelines and other related articles: > http://lug-iitd.org/Footer > Its nice -- (\/)/\ /-/ ES /-/ -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
