Skip to main content
Offline·Progress is saved on this device and syncs the next time you open the app online.
Cryptography & PKI

CBC

Cipher Block Chaining

A block cipher mode where each block is XORed with the previous ciphertext block.

CBC is a block cipher mode that XORs each plaintext block with the previous ciphertext block before encryption, so identical plaintext blocks produce different output and patterns are hidden. It requires a random initialization vector for the first block and processes blocks sequentially, which prevents parallel encryption. Because a single corrupted block affects decryption of adjacent blocks, and padding handling has enabled padding oracle attacks, authenticated modes such as GCM are now generally preferred over plain CBC.

Related terms

Looking CBC up is step one. Getting tested on it is step two.

A free account opens all 4 Domain 1 objectives, 271 exam-style questions with a lesson and a lab on each, a placement check that skips what you already know, and a dated plan. No card.

Not affiliated with or endorsed by CompTIA.