OFB¶
OFB stands for Output Feedback mode. Its feedback content is the output of the block encryption rather than the ciphertext.
Encryption¶

Decryption¶

Advantages and Disadvantages¶
Advantages¶
- Does not have error propagation properties.
Disadvantages¶
- The IV does not need to be kept secret, but a different IV must be chosen for each message.
- Does not have self-synchronization capability.
Applicable Scenarios¶
Suitable for scenarios where the plaintext has a high degree of redundancy, such as image encryption and voice encryption.