Pike v8.0 release 1738

Module __builtin.Nettle.BlockCipher()->CTR

Inheritance graph
__builtin.Nettle.Cipher __builtin.Nettle.BlockCipher.CTR
Description

Implementation of Counter Mode (CTR). Works as a wrapper for the cipher algorithm in the parent module.

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, CCM, GCM, MAC


Inherit Cipher

inherit .Cipher : Cipher