Thursday, 19 January 2017

Using PGP for Gmail - (Pretty Good Privacy)

What is PGP?

Pretty Good Privacy (PGP) is an encryption program that provides cryptographic privacy and authentication for data communication.

PGP is often used for signing, encrypting, and decrypting texts, e-mails and increase the security of e-mail communications.

Public Key :
This key is public to everyone, you need to share your public keys with your friends, so that your friends will be able to encrypt the message and send it to you.

Private Key:
This key is private, and you should not share this key with anyone. You will be able to decrypt emails encrypted with your public keys.

For demonstration we will use - Mailvelope

Mailvelope is a crome plugin that can be used for generating public key and private key.
and also you will be able to send PGP encrypted / decrypt emails to and from your friends.


Steps :

1. Generate public and private keys with Mailvelope

2. View your public and private keys

3. Now you need to import your friends Public key so that you can encrypt confidential message and send it to him

4. Now You can compose a message and encrypt it with your friends public key
You just need to put your sender whose public key you have imported in previous step.

5. Even if other person intercepts this message he will see below contents

6. Now when your friend will open the message he will see below Mailvelope option for decrypting this message

Your friend will enter passphrase for his private key

7. Thats it! Your friend has decrypted your message with his private key.

Hope this helps!

No comments:

Post a Comment