Is the AES-EZB mode useful for everything

Block cipher modes of operation

Block ciphers transform a fixed block length of data into another fixed block length using a function controlled by a key entered by the user. The n-bit input block of data is mapped to an n-bit output block by one-to-one transformation from n-bit integers to a permutation of n-bit integers. How the cipher is applied to these blocks is defined by the block cipher operating mode. In the simplest case, as in ECB mode, each block is encrypted independently without any additional function (whitening). This has the major disadvantage that if the same block of data is encrypted twice with the same key, the same output block is generated twice. This would be extremely useful information for the attacker of a ciper, which is why other modes of different security have been developed.

ECB - Electronic Codebook

Treats each block independently.
Doesn't hide patterns or code repetitions
Error propagation: 1 block
Limited area of ​​application

CBC - Cipher Block Chaining

Ciphertext depends on all previous code blocks
Hides patterns and code repetitions
Error propagation: 1 block, copied to the next
Standard mode for block ciphers before the AES selection process

OFB - Output Feed Back

Synchronous stream cipher
No connection between subsequent blocks
No error propagation

CFB - Cyphertext Feed Back

Self-synchronizing stream cipher
Ciphertext depends on all previous code blocks
Error propagation: Copied and spread over a block

CTR - Counter Mode

Treats each block independently
Hides patterns and code repetitions
Error propagation: 1 block
Modus offers random access to the data
Security comparable to CBC mode

CCM - Counter Mode with CBC-MAC

Treats each block independently
Hides patterns and code repetitions
Error propagation: 1 block
Modus offers random access to the data
Mode includes efficient authenticated encryption
Security comparable to OCB mode
New standard mode developed for AES

OCB - Offset Code Book

Developed by Phillip Rogaway, Mihir Bellare, John Black, Ted Krovetz
Treats each block independently
Hides patterns and code repetitions
Error propagation: 1 block
Mode includes efficient authenticated encryption
Safest mode: If you break this procedure, you have broken the algorithm
New mode developed for AES, but patented, free for freeware

COA - Counter with Offsetcode Authenticated Encryption Mode

Treats each block independently
Hides patterns and code repetitions
Error propagation: 1 block
Modus offers random access to the data
Mode includes efficient authenticated encryption
Security compliant with OCB mode
Tweakable fashion
New mode developed for AES

 


Related topics:

• MCCrypt Pro operation modes
• MCCrypt Lite modes of operation
• MCCipher ActiveX DLL operation modes
• MCRijndael ActiveX DLL operation modes
• MCMAC ActiveX DLL operation modes
• MCSecureMail ActiveX DLL operation modes
• MCCrypt Pro
• MCCrypt Lite
• MCSecureMail
• MCCipher ActiveX DLL
• MCRijndael ActiveX DLL
• MCHash ActiveX DLL
• MCMAC ActiveX DLL
• MCWipe
• MCSign
• MCVerify