arxpy.primitives.chaskey module

Permutation \(\pi\) of Chaskey.

class arxpy.primitives.chaskey.ChaskeyPi[source]

Bases: arxpy.primitives.primitives.BvFunction

classmethod set_rounds(new_rounds)[source]

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

classmethod eval(v0, v1, v2, v3)[source]

Evaluate the function (internal method).