Symmetric and Asymmetric encryption

Source: Internet
Author: User
Tags asymmetric encryption

What is encryption? Encryption is divided into two parts: algorithm and secret key. The algorithm is constant, the key is changed, see the following example.

Secret key: abcedfgh->12345678.

Algorithm: Each bit in the plaintext is replaced by another bit in the key table.

For example, ADFH is encrypted after 1568.



Encryption key K decryption Key K ' is the same as symmetric encryption.

Advantages of Symmetric encryption: fast encryption.

The disadvantage of symmetric encryption: Key transmission is not secure.


What is non-symmetric encryption, such as:


Encryption key K decryption key K ' is not the same as asymmetric encryption.

Advantages of Asymmetric Encryption: there is no key transport security issue.

The disadvantage of asymmetric encryption: encryption is slow.


In asymmetric encryption, the encryption key is also called the public key, and the decryption key is called the private key. See:
















Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Symmetric and Asymmetric encryption

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.