Till Studer's Notes

Recent Notes

  • Yerba Mate

    Dec 23, 2025

  • Post-Quantum

    Dec 12, 2025

  • BB84

    Dec 12, 2025

  • Key Length Recommendations

    Dec 12, 2025

  • Quantum Key Exchange

    Dec 12, 2025

Home

❯

01_Zettelkasten

❯

Cipher Block Chaining

Dec 08, 20251 min read

Cipher Block Chaining

In CBC mode, each block of plaintext is XORed with the previous ciphertext block before being encrypted. This way, each ciphertext block depends on all plaintext blocks processed up to that point. To make each message unique, an initialization vector must be used in the first block.

Encryption

1

Decryption

2


Relevant Note(s): Electronic Codebook

Footnotes

  1. https://en.wikipedia.org/wiki/File:CBC_encryption.svg ↩

  2. https://en.wikipedia.org/wiki/File:CBC_decryption.svg ↩


Graph View

  • Cipher Block Chaining
  • Encryption
  • Decryption

Backlinks

  • Block Cipher
  • Electronic Codebook
  • Secure Channel using Symmetric Key Cryptography

Created with Quartz v4.5.2 © 2026

  • GitHub
  • LinkedIn
  • Email