Friday, December 23, 2016

Using GPG to encrypt files : Symmetric

Using GPG to encrypt files : Symmetric


With the public keys imported, we could exchange encrypted files and be able to decrypt them.



The syntax for doing this is





gpg --output output_filename --symmetric encrypted_filename








For example, if I sent the mytest- file.txt.gpg encrypted document
from my openSUSE system to my fedora system, I would enter the
following command to decrypt it







gpg --output mytestfile.txt.decrypted --symmetric  mytestfile.txt.gpg











Encryption VI

No comments:

Post a Comment