cascada.primitives.chaskey module
Permutation \(\pi\) of Chaskey.
- class cascada.primitives.chaskey.ChaskeyPi(*args, **options)[source]
Bases:
cascada.bitvector.ssa.RoundBasedFunction
The permutation \(\pi\) of Chaskey as a bit-vector function.
- classmethod set_num_rounds(new_num_rounds)[source]
Set
RoundBasedFunction.num_rounds
and updateinput_widths
andoutput_widths
if necessary.