PGP encryption software tutorials - cloud security technology

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/weixin_39329758/article/details/90746470

PGP encryption technology:

        PGP (Pretty Good Privacy) encryption technology is based on e-mail encryption software from RSA public key encryption system, it provides public-key cryptography.

 

        Founder of PGP encryption technology is American Phil Zimmermann. His creativity is to combine RSA public key encryption system and the traditional system up and ingenious designs on digital signature authentication and key management mechanisms, so PGP almost become the most popular public-key encryption software package.

 

        Since the RSA algorithm is computationally intensive, the speed is not suitable for a large amount of data encrypted, PGP is not actually used for encryption RSA itself, instead of using the conventional encryption algorithm IDEA, IDEA encryption is much faster than RSA. PGP randomly generated - a key, encrypts a plaintext using IDEA algorithm and key encryption using the RSA algorithm. Recipients also solved by RSA random key, then the original solution IEDA. The confidentiality of such chained encryption of both the RSA algorithm (Privacy) and authentication (Authentication), while maintaining the fast IDEA algorithm speed advantage.

 

PGP e-mail encryption software use

Test1 user's e-mail address is: [email protected]

Test1 user's e-mail address is: [email protected]

 

Open PGP Desktop, choose - File - New -PGP key to open the "PGP Key Generation assistant."

Enter the name and e-mail address.

Create a password.

Completion of key generation.

 

Next.

In PGP Desktop, select - Tools - Options, open -PGP options.

Select - master key, add it.

To the key.

 

determine.

Select "test1" account, right click and choose "Export."

Choose a good location to save the key save.

Copy the public key and send it test2 test1 user.

The public key to send test2 test1 user.

test2 file to be sent using PGP encryption. Select File - Right -PGP Desktop- use key protection.

The encrypted file.

In the "PGP archive assistant" dialog box opens, click on the "Add" button to add test1 and tes2 public.

In the "PGP archive assistant" dialog box open, you can make a signature on the letter, and set the encryption, the signature file save location, setup is complete.

File save location.

Test1 send the encrypted file to the user.

test1 user receives the file, right-encrypted attachment to select -PGP Desktop, select the option to decrypt decrypt & verify, you can get the plaintext message.

Decryption results are as follows.

A, PGP encryption process of FIG.

Two, PGP encryption process

1 generates a session key using a pseudo-random number generator

2 with the public key cryptography to encrypt the session key

3 compressed message

4 using a symmetric cipher to encrypt the compressed message, the key step is used herein in a generated session key.

The encrypted session key 5 (step 2) with the encrypted message (step 4) split up.

6 to convert the result of step 5 is text data, the result is converted message data.

Three, PGP encryption features

With the public key encrypted session key, encrypted message using a symmetric cipher.

Guess you like

Origin blog.csdn.net/weixin_39329758/article/details/90746470
PGP