In this first example I will show you the basics on how to encrypt a file. But before we do that lets create a file called encrypt_example.
# touch encrypt_example
To encrypt single file, use the GPG command as follows: gpg -c encrypt_example. This will create a encrypt_example.gpg file. The -c option will Encrypt with symmetric cipher
Now to decrypt it, use command - gpg encrypt_example.gpg
0 comments:
Post a Comment