IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Send Encrypted messages to your friends using GPG

Go down

Send Encrypted messages to your friends using GPG Empty Send Encrypted messages to your friends using GPG

Post by BIT0122-Amit Mon Sep 13, 2010 1:54 pm

There are actually many ways gpg can be used, but I am showing you the easiest one Smile

First of all, make a file, and write some text in it.

Then, go to terminal, and go to directory where the file is kept.
Lets assume, the file name is myf.
Now, use this command:

Code:
gpg --symmetric myf

It will ask for a passphrase ( password )so that the person who knows this passphrase can decrypt your file Wink
When you are done, it will create a file like
myf.gpg

Which is the encrypted version of your myf file Smile

So, how do you decrypt it?
It is simple. Simply use this command:

gpg -d myf.gpg

And it will ask for your password.

How about testing this?
I am going to give you an encrypted file.
Download the file from here

Click me to get the passphrase:

lets see if you can decrypt it :p
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum