Generate
- class generate.generate.Generate(file_systems_generated: str, system_generation_timeout: float, field_size: int, monomial_order: str, permutation: str, cico: int, round: int, number_test: int, branch: int, seed: int, constant_sparsity: int)
Class for the generation of system(s) of equations corresponding to an algebraic attack over a primitive
- Parameters:
file_systems_generated (str) – File containg the systems generated
system_generation_timeout (float) – Timeout to the generation of the system of equations
field_size (int) – size of the prime finite field
monomial_order (str) – monomial order to use to define the multivariate polynomial ring
permutation (str) – permutation (modelling)
cico (int) – number of the CICO problem to solve
round (int) – Number of rounds
branch (int) – Number of branches
constant_sparsity (int) – Sparsity of the constant vectors
number_test – Number of generation of the system to perform
seed (int) – seed for randomness
- generate_systems()
Generate the system of equations depending on whether the systems are from an algebraic attack on a permutation or a random ideal.