Cipher feedback mode (CFB) turns a block cipher into a self-synchronizing stream cipher. It feeds part of the previous ciphertext block into the encryption process, generates a keystream, and XORs that keystream with plaintext. section 5.3
CFB’s operational tradeoffs include:
- It avoids the padding requirement associated with encrypting plaintext directly in fixed-size blocks. section 5.3
- A corrupted ciphertext bit can propagate through subsequent blocks, causing them to decrypt incorrectly. section 5.3
- Unlike output feedback mode, CFB uses ciphertext as feedback, making it vulnerable to transmission-error propagation. section 5.3
Corrupted video transmission
When a video file encrypted with CFB suffers a corrupted bit during transmission, the error ripples into subsequent blocks, which decrypt incorrectly. section 5.3
