Module Nettle.BlockCipher()->CTR

Inheritance graph
Description

Implementation of the Counter mode (CTR).

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

CBC, GCM, Buffer


Inherit Cipher

inherit __builtin.Nettle.Cipher : Cipher