cascada.primitives.cham module

CHAM family of block ciphers.

class cascada.primitives.cham.CHAMInstance(value)[source]

Bases: enum.Enum

Represent the available instances of CHAM.

CHAM_64_128

CHAM64/128

CHAM_128_128

CHAM128/128

CHAM_128_256

CHAM128/256

cascada.primitives.cham.get_CHAM_instance(CHAM_instance)[source]

Return an instance of the CHAM family as a Cipher.