Crypto U4, Block Cipher, Cipher Block Chaining Mode (CBC)

Beschreibung

IYM002 (Unit 4 - Symmetric Crypto) Notiz am Crypto U4, Block Cipher, Cipher Block Chaining Mode (CBC), erstellt von jjanesko am 03/04/2013.
jjanesko
Notiz von jjanesko, aktualisiert more than 1 year ago
jjanesko
Erstellt von jjanesko vor etwa 11 Jahre
310
11

Zusammenfassung der Ressource

Seite 1

Encryption Start with an initialization vector (IV). XOR the IV with the first block of plaintext. Pass the result and the key to the encryption function. The result of the operation is the first ciphertext block. XOR the resulting ciphertext block with the next plaintext block. Pass the result and the key to the encryption function. The result of the operation is the next ciphertext block. Go back to step 5 and repeat until there are no more plaintext blocks remaining.

Decryption Take the first ciphertext block. Pass the ciphertext block and the key to the decryption function. XOR the result of the operation with the initialization vector (IV). The result is the first plaintext block. Pass the next ciphertext block and the key to the decryption function. XOR the result of the operation with the ciphertext block from the previous decryption step. The result is the next plaintext block. Go back to step 5 and repeat until there are no more ciphertext blocks remaining.

Error Propagation When there is a 1 bit error, only two blocks are impacted; one right after the other. Block with the error is badly impacted because the faulty ciphertext is processed with decryption function. Succeeding block has error in the position where the ciphertext had the original error because it is only impacted by the XOR process.

Properties message dependence limited error propagation no synchronization necessary can be used to provide data origin identification requires encryption AND decryption requires padding

Encryption and Decryption

Error Propagation

Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Crypto U4, Block Cipher, Cipher Feedback Mode (CFB)
jjanesko
Crypto U4, Stream Cipher
jjanesko
Crypto U4, Block Cipher, Counter Mode
jjanesko
Crypto U4, Block Cipher, Electronic Codebook Mode (ECB)
jjanesko
Crypto: U3 & U4 Flashcards (by Mohamed Ahmed Enab)
jjanesko
Crypto U3, Theoretical vs. Practical Security
jjanesko
Crypto U1, Basic Principles
jjanesko
Crypto U2, Crypto design principles
jjanesko
Crypto U10 (part 2), Key Management and Lifecycle
jjanesko
Crypto U9, Cryptographic Protocols
jjanesko
Crypto U10 (part 1), Key Management & Lifecycle
jjanesko