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

ECB

Electronic Codebook

A weak block cipher mode that encrypts identical blocks identically, leaking patterns.

ECB is the simplest block cipher mode, dividing plaintext into blocks and encrypting each one independently with the same key. Its critical weakness is that identical plaintext blocks produce identical ciphertext blocks, so structural patterns in the data remain visible, famously illustrated by an encrypted bitmap whose image is still recognizable. Because it provides no diffusion across blocks and no integrity, it is considered insecure for most data. The exam contrast is modes like CBC or GCM that chain blocks or add randomization to hide patterns.

Related terms

Looking ECB 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.