arxpy.primitives.hight module

Hight cipher.

class arxpy.primitives.hight.HightKeySchedule[source]

Bases: arxpy.primitives.primitives.KeySchedule

Key schedule function.

classmethod set_rounds(new_rounds)[source]

Change the number of rounds and adjust the input/output widths.

classmethod eval(*mk)[source]

Evaluate the function (internal method).

class arxpy.primitives.hight.HightEncryption[source]

Bases: arxpy.primitives.primitives.Encryption

Encryption function.

classmethod set_rounds(new_rounds)[source]

Change the number of rounds and adjust the input/output widths.

classmethod eval(*p)[source]

Evaluate the function (internal method).

class arxpy.primitives.hight.HightCipher[source]

Bases: arxpy.primitives.primitives.Cipher

key_schedule

alias of HightKeySchedule

encryption

alias of HightEncryption

classmethod set_rounds(new_rounds)[source]

Change the number of rounds and adjust the input/output widths.

classmethod test()[source]

Test Hight with official test vectors.