"Summarize and organize" Http-https

Source: Internet
Author: User
Tags decrypt asymmetric encryption

The way you encrypt the message above is symmetric encryption , you know how to encrypt it, and you know how to decode it. Then Li Lei and Han Meimei use the alphabet Offset encryption method called Caesar cipher, Caesar encryption . Cryptographic algorithms in the real world are more complex, but the fundamentals are the same.

The above encryption method is asymmetric encryption , asymmetric meaning relative to symmetry, is you even know how to encrypt the way, do not know how to decrypt, corresponding to the above process is Li Lei password box but no way to open.

In terms of terminology, we know the public key and private key , the server sends the public key (lockbox) to the client, the client uses the public key to encrypt the information (Lock the box), the server accepts the message and uses the private key (only Han Meimei known password) to decrypt.

Certification Authority, Certification body, has the right to issue a certificate (signature).

In this relationship chain, Trust CA is the basis, because, in fact, there will be a CA tell you that he is safe , he will give himself a certificate. In the corresponding example, if Jim Green is a credible person and then signs himself, then there is no play, but we "believe" the CA will not do such a bad thing, so Jim Green will not be a CA.

As a result, they decided that the message body is still transmitted in the form of Caesar encryption, and then the offset step is sent in a Zheng signed safe, which balances the security of the message and the cost of the transmission.

The term interpretation is that asymmetric encryption can affect the transfer speed, because the message body is larger, so generally comprehensive performance and security considerations, the symmetric encryption of the message body , asymmetric encryption is used to encode the symmetric encryption key.

"Summarize and organize" Http-https

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.