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.
OFB: Output feedback
From the course: Symmetric Cryptography Essential Training
OFB: Output feedback
- [Instructor] The next mode is called output feedback, or OFB, and like cipher feedback, the plain text is combined with the block by block key stream, like a stream cipher. You can see how we've changed the spot where the message is combined with the results of the block cipher. With output feedback, we XOR for the plain text with the key stream and use that result as the cipher text. With cipher feedback, we use that result as both the cipher text and as the input to the next block. You can see how we've changed the spot where the message is combined with the results of the block cipher. Without output feedback, we XOR for the plain text with the key stream and use that result as the cipher text. With cipher feedback, we use that result as both the cipher text and as the input to the next block. Conveniently, decryption is exactly the same as encryption, but here we XOR the cipher text with the key stream to produce the plain text. Why might we use this instead of CFB? Unlike…
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)
-
-