From the course: Symmetric Cryptography Essential Training
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
CFB: Cipher feedback
From the course: Symmetric Cryptography Essential Training
CFB: Cipher feedback
- [Instructor] Cipher feedback mode, or CFB mode, converts a block cipher into something that behaves a lot like a stream cipher. It produces something like a key stream, but a block at a time rather than a byte at a time. Instead of encrypting the plaintext with the block cipher, the plaintext is combined with the results of encrypting the initialization vector. Then, the input to the next block is the ciphertext from the previous block, thus cipher feedback. If I stare at it long enough, I think that CFB looks a bit like cipher block chaining run backwards. Go back to that video and see if you agree. And here's the process for decryption. The block cipher encrypts the initialization vector with the key and the output of that is XOR-ed with the ciphertext to produce the message block. Block ciphers in CFB mode turn into a sort of self-synchronizing stream cipher. This means that if even a single byte of ciphertext is corrupted, it corrupts only the current plaintext block, but not…
Contents
-
-
-
-
-
-
-
(Locked)
Introduction to block cipher modes2m 51s
-
(Locked)
Cipher block chaining (CBC)1m 51s
-
(Locked)
CFB: Cipher feedback1m 10s
-
(Locked)
OFB: Output feedback1m 25s
-
(Locked)
CTR: Counter mode1m 3s
-
(Locked)
Challenge: Building a block cipher with CBC mode2m 14s
-
(Locked)
Solution: Building a block cipher with CBC mode1m 3s
-
(Locked)
-
-