Google Plus

More about PGP encryption

Written by Mel Kham on . Posted in Linux tutorials

PGP (Pretty Good Privacy) encryption is a Public-Private key based Cryptography tool
for data protection and security.
Whenever any one wants secure data communication then he needs to have encryption
tool like PGP. The PGP will create a Public & Private for the user. Whenever he
wants to receive any data in a secured manner then he would distribute his public
key to people. They will use the PGP software and the public key to create the
encrypted date and then communicate the same via electronic Media. He can use his
PGP software and private key to decrypt and view the message. Public and private
keys are available in a form of file known as Key rings which is recognized by PGP
Software.
When a user encrypts plaintext with PGP, PGP first compresses the plaintext. PGP
then creates a session key, which is a one-time-only secret key. This key is a
random number generated from the random movements of your mouse and the keystrokes
you type. This session key works with a very secure, fast conventional encryption
algorithm to encrypt the plaintext; the result is cipher text. Once the data is
encrypted, the session key is then encrypted to the recipient's public key. This
public key-encrypted session key is transmitted along with the cipher text to the
recipient.
Decryption works in the reverse. The recipient's copy of PGP uses his or her private
key to recover the temporary session key, which PGP then uses to decrypt the
conventionally-encrypted cipher text.
Keys:
Keys are stored in encrypted form. PGP stores the keys in two files on your hard
disk; one for public keys and one for private keys. These files are called keyrings.
As you use PGP, you will typically add the public keys of your recipients to your
public keyring. Your private keys are stored on your private keyring. If you lose
your private keyring, you will be unable to decrypt any information encrypted to
keys on that ring.
Many of the software applications use the PGP software (PGP Command Line) to build
their encryption. Following scenario would explain the same.
A company ABC is transacting with bank and receives and sends communication to the
Bank electronically. They want to transmit the data electronically. The Bank is
already using PGP software for encrypting the data. The bank insists the ABC Company
to send the data in Encrypted form. They would share their Public Key. This would be
in the form of a file (Key ring). Then ABC firm first upload the key Ring in their
PGP software. When transmitting data, they would use the Bank's Public Key and
encrypt the data and then transmit the same. When the Bank receives the file, they
would use the PGP application and their private key and decrypt the data. Similarly
when ABC Company wants to receive the encrypted data from their Partners/Bank, then
they would generate a Public, Private Key from the PGP Software and share the Public
Key to their partner.

Source
Theetharappan, Thiagarajan from mphasis.com

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Ladi Oyekanmi

|

Could you please assist in step by step on how to install nagios on solaris

Adhraa

|

Greate tutorial :)

pigmej

|

Just one thing:

What about pep8 in your python code ? How can you give ‘tutorials’ on quite popular website, of such a bad quality ?

Amit Rai

|

I just renamed shared.xml and it logged in and created a new shared.xml.

DB Griffin

|

Larry Page is not being completely honest! The manner in which the PRISM program/project works does not need access from company administrators or owners, so called “direct access”; the access to the information is already there. These tech company CEOs take for granted the actual intelligence of most end users of their products. All it takes is a little digging and reading to go from ignorant to informed on these things especially on exactly how the internet works/functions in the U.S.A. I find Larry Page’s remarks just as laughable as Al Gore’s claim to “inventing” the internet/world wide web!

If you, as an end user, are reading this post; I challenge you to research these matters yourself. It really is quite simple with all the “information sites” that exist on the web today ie Wikipedia, & other online encyclopedias that actually list source material, as well as highly respected tech sites and blogs that also list their source material. Be warned: this is only the tip of the iceberg and these tech CEOs know and understand this; they are scrambling in attempt to perform DAMAGE CONTROL to save the company and what little trust thay have left from their products end users/consumers.

Am I a skeptic? I believe someone has to be or needs to be at this point in time! If your not just a little skeptical of the government, tech companies, and the people that are in charge of these agencies and companies; you need to be, even if just a little skeptic. For your own personal protection and security! I know I was a part of this community for over 14 years!

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .