Extracted from Pike v8.0 release 164 as of 2016-04-05.
   

Module Nettle.BlockCipher()->CTR

Inheritance graph
__builtin.Nettle.Cipher Nettle.BlockCipher.CTR Nettle.BlockCipher16.CCM
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