What is asymmetric encryption, what is a public key, what is a key

Source: Internet
Author: User
Tags asymmetric encryption

Encryption-Re-encodes the information in some way. Decryption-Restores the encoded information in some way.

What is symmetric encryption and what is asymmetric encryption? Give me a chestnut:

A send a message to B, in order to secure the transmission of information to be encrypted. There are two ways in which they

1. Both A and B know how to encrypt information and how to decrypt it.

A, b all know the password case, a to a piece of information encryption and send, b after receiving a password to decrypt.

2. A only know how to encrypt information, do not know how to decrypt; b Not only knows how to encrypt but also knows how to decrypt it.

b through an algorithm to generate encryption and decryption method, and then the encryption to tell a, let a send him a message, and then he decrypted later to view.

A can only send messages, B can only see messages, asymmetry. The encryption method becomes the public key, and the decryption method becomes the key.

For A and B, the 1th approach is symmetric to each other, and the 2nd way is one-way asymmetric.

Implementation of asymmetric encryption in SSL protocol: to be continued

Implementation of asymmetric encryption in SSH protocol: to be continued

What is asymmetric encryption, what is a public key, what is a key

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.