Module Nettle.BlockCipher()->OFB

Inheritance graph
Description

Implementation of the Output Feed-Back mode (OFB).

This cipher mode works like a stream cipher with a block size >= 1. This means that the same key and initialization vector (aka counter) should never be reused, since a simple xor would reveal information about the plain text. It also means that it should never be used without a suiteable Message Authentication Code (MAC).

See also

CFB, CBC, CTR, GCM


Inherit BufferedCipher

inherit BufferedCipher : BufferedCipher