Home     Blog

PGP (Pretty Good Privacy)

PGP (Pretty Good Privacy) is a data encryption and decryption program used in e-mail messaging, encrypting/decrypting texts, files, or even disk partitions, in order to provide security of data. The program was created in 1991, by Phil Zimmerman.

Pretty Good Privacy encryption is based on using a serial combination of data compression, hashing, public-key cryptography and symmetric-key cryptography. Public keys are bound to e-mail addresses or usernames.

 PGP (Pretty Good Privacy)How Does PGP Work?

PGP is used for sending messages confidentially. It combines public-key and symmetric-key encryption. A symmetric encryption algorithm is used for message encryption. One symmetric key can be used only once. That is why it is called “a session key”. It is encrypted with the public key of the receiver and it can only be decrypted by the receiver. The receiver gets the encrypted message along with the session key.

Newer systems can create encrypted messages that can’t be decrypted by older PGP systems, even if there is a valid private key. That is why it is very important that parties agree on PGP settings before they start PGP communication.

PGP supports integrity checking and message authentication. Integrity checking is used for determining whether there have been any alterations to the sent message. Message authentication is used to determine whether the message was sent by the entity or person claiming to be the message sender.

The person or entity sending the message will use either the DSA or RSA signature algorithms to make a digital signature. To do this, PGP will compute a hash from the plaintext, after which the digital signature will be created using the private key of the sender.

When it comes to security quality, PGP is very well spoken of. There is no method of breaking the encryption by computational or cryptographic means. Cryptographer Bruce Schneier described the early version of PGP as very close to military-grade encryption. However, early versions had certain theoretical disadvantages. It is always recommended to use current versions.

PGP encryption is used in data protection in long-term storage of information (e.g. disk files). Such storage options are also called “data stored”, “data at rest” or “not in transit”.

PGP encryption’s cryptographic security relies on the assumption that it is not possible to break the algorithms by using direct cryptanalysis. The RSA algorithm used in the original version of PGP was used for session key encryption. Its security relied on the nature of the one-way function of integer factoring. The second version of PGP used the symmetric key algorithm, but it has been found to have certain cryptanalytic flaws. Current version of PGP is considered secure are reliable, and even if there are insecurities – they are unknown to the public.

Current versions of Pretty Good Privacy include additional encryption algorithms, and so the vulnerability of these versions actually depends on which algorithm is used. In 2007, British police were not able to break PGP and they had to use RIPA legislation to get the keys/passwords. In 2009, a British citizen was jailed for nine months because he refused to provide police with keys for PGP encrypted files.

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
Follow Will.Spencer on

Leave a Reply

Related Posts

  • Symmetric and Asymmetric ciphers

    In a symmetric cipher, both parties must use the same key for encryption and decryption. This means that the encryption key must be shared between the two parties before any messages can be decrypted. Symmetric systems are also known as shared secret systems or private key systems. Symmetric ciphers are significantly faster than asymmetric ciphers, [...]...


  • GPG (GNU Privacy Guard)

    GPG, or GnuPG, is GNU Privacy Guard. GnuPG is a complete and free replacement for PGP. Gpg4win is an installer package for GPG that adds a graphical shell and plugins for Microsoft Outlook and Windows Explorer. Because GPG does not use the patented IDEA algorithm, it can be used without any restrictions. GnuPG is a [...]...


  • WEP (Wired Equivalent Privacy)

    Wired Equivalent Privacy (WEP) is the encryption algorithm built into the 802.11 (Wi-Fi) standard. WEP encryption uses the RC4 stream cipher with 40 or 104 bit keys and a 24 bit initialization vector. WEP Key Generation Most 802.11 devices allow WEP keys to be entered using an ASCII passphrase or in hexidecimal format. The conversion [...]...


  • Cryptographic Algorithms

    Symmetric Cryptographic Algorithms DES (Data Encryption Standard) is perhaps the most widely used cryptographic algorithm. DES is based upon IBM’s Lucifer algorithm. The NBS (National Bureau of Standards) and the NSA (National Security Agency) adopted DES as a federal standard in 1977. DES is a symmetric cipher with an effective key length of 56 bits. [...]...


  • DES (Data Encryption Standard)

    DES (Data Encryption Standard) is a symmetric cipher defined in Federal Information Processing (FIPS) Standard Number 46 in 1977 as the federal government approved encryption algorithm for sensitive but non-classified information. DES was developed by IBM and was based upon IBM’s earlier Lucifer cipher. DES utilizes a 56-bit key. This key size is vulnerable to [...]...