File Encryption and Decryption

File Encryption and Decryption.

Gnu PG stand for GNU privacy guard. and its GNU tool for secure connection and data storage. It use to encrypt data and create digital signature.

To encrypt / decrypt file with password. use “gpg” command. It is an encryption and signing tool for linux / unix like OS.

1. create encrypted file

#gpg -c fle.txt

enter encryption password twice and output is file.gpg

2. Decrypt file

#gpg -d file.gpg
#gpg file.gpg

and enter the password to get original file.

Posted in commands

Leave a Reply