OFB(Output Feedback)

OFB mode makes a block cipher operate like a synchronous stream cipher.

Unlike CBC or CFB, it performs encryption using only the encrypted feedback values, independent of the previous ciphertext or plaintext.

Both encryption and decryption can be processed in parallel.


OFB mode Encrytion


OFB mode Decrytion


Definitions

  • : Plaintext block
  • : Ciphertext block
  • : Encryption function with key
  • : Input block
  • : Initialization Vector