D5 · Crypto

What is CBC mode encryption?

CBC (Cipher Block Chaining) XORs each plaintext block with the previous ciphertext block before encrypting, using an IV for the first block. More secure than ECB.
CBC requires an IV — it should be random and unpredictable. CBC is vulnerable to padding oracle attacks (POODLE). Modern preference is AES-GCM which provides both encryption and authentication.
← Back to Glossary Practice Questions →