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

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