Pike v8.0 release 1738

Module Nettle.BlockCipher()->CTR

Inheritance graph
Description

Implementation of 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