Crypto U4, Block Cipher, Counter Mode

jjanesko
Note by , created almost 6 years ago

IYM002 (Unit 4 - Symmetric Crypto) Note on Crypto U4, Block Cipher, Counter Mode, created by jjanesko on 03/04/2013.

Eye 239
Pin 11
Balloon left 0
Tags
jjanesko
Created by jjanesko almost 6 years ago
Crypto U1, Basic Principles
jjanesko
Crypto U3, Theoretical vs. Practical Security
jjanesko
Crypto U2, Crypto design principles
jjanesko
French Grammar
annabelmiddleton
AQA GCSE Chemistry Unit 2
Gabi Germain
Crypto U4, Block Cipher, Cipher Feedback Mode (CFB)
jjanesko
Crypto U4, Block Cipher, Electronic Codebook Mode (ECB)
jjanesko
Crypto U4, Block Cipher, Cipher Block Chaining Mode (CBC)
jjanesko
Crypto U4, Stream Cipher
jjanesko
Crypto: U3 & U4 Flashcards (by Mohamed Ahmed Enab)
jjanesko

Page 1

Encryption Both sender and receiver have an agreed upon counter starting number. Pass the first counter number and the key to the encryption function. XOR the result of the function with the first plaintext block. The result is the first ciphertext block. Increment the counter. Pass the new counter value and the key to the encryption function. XOR the result of the function with the next plaintext block. The result is the next ciphertext block. Go to step number 5 and repeat until there are no plaintext blocks remaining.

Decryption Take the agreed upon counter number. Pass the starting counter number and the key to the encryption function. XOR the result of the function with the first ciphertext block. The result is the first plaintext block. Increment the counter. Pass the new counter value and the key to the encryption function. XOR the result of the function with the next ciphertext block. The result is the next plaintext block. Go to step number 5 and repeat until there are no plaintext blocks remaining.

Error propagation NO error propagation

Properties requires a synchronous counter parallelizable no message dependency, but achieves different outputs for like blocks by using the counter requires only a decryption algorithm

Encryption and Decryption

Error Propagation and Properties