Four modes of AES encryption

Source: Internet
Author: User

Four modes in symmetric encryption and packet encryption (ECB, CBC, CFB, OFB)

a . AES Symmetric encryption :
AES Encryption



Group

two padding for grouped passwords
The padding e.g for a grouped password.:

Pkcs#5 Fill Mode
three Stream Password :

  Four four modes in block cipher encryption : 3.1 ECB Mode Advantages:1. Simple; 2. facilitates parallel computing; 3. errors are not transmitted; Disadvantages:1. Cannot hide the clear text mode; 2. Active attacks on plaintext may occur;
3.2 CBC
mode: Advantages:1. Not easy to actively attack, security better than the ECB, suitable for transmitting long-length messages, is the standard of SSL, IPSec. Disadvantages:1. Not conducive to parallel computing; 2. Error transfer; 3. Required Initialization Vector IV 3.3 CFB mode:
Advantages:
1. The plaintext mode is hidden, 2. The block cipher is converted to stream mode; 3. Can encrypt and transmit data less than packet in time; Disadvantages:1. Not conducive to parallel computing; 2. Error transfer: A clear text unit damage affects multiple cells; 3. The only IV; 3.4 OFB mode:
Advantages:
1. The plaintext mode is hidden, 2. The block cipher is converted to stream mode; 3. Can encrypt and transmit data less than packet in time; Disadvantages:1. Not conducive to parallel computing; 2. Active attacks on plaintext are possible; 3. Error transmission: A clear text unit damage affects multiple units;

Four modes of AES 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.