CFB(Cipher Feedback)
CFB mode makes a block cipher operate like a synchronous stream cipher. Since it functions as a stream cipher, padding is not required even if the data size does not align perfectly with the block size.
Because each block uses the previous ciphertext, encryption in CFB mode cannot be processed in parallel, similar to CBC.
While similar to CBC, CFB uses XOR with the encrypted feedback value. Unlike CBC, decryption in CFB mode can be performed in parallel.
CFB mode Encrytion
CBC mode Decrytion
Definitions
- : Plaintext block
- : Ciphertext block
- : Encryption function with key
- : Initialization Vector