zeroplus

Programs

pso.py

Optimize the partial sum guessing order

Usage:

pso.py [-h] [-s [STEPS]] tweakey_setting final_round start_round tweakey_cell balanced_cell input_active scale

Example: python pso.py 1 18 15 5 4 9 32

psvisu.py

Visualize the partial sum recovery steps

Usage:

psvisu.py [-h] [-c] [-s] [-n] [-m] [-p] input [input ...]

Example:

python psvisu.py 1_18_15_5_4_9.json -n -p

or

python psvisu.py 1_18_15_5_4_9.json -s -m -p

Output:

Partial Sum Key Recovery Visualization stored in 3_25_17_14_1_4.pdf

Compiling the file requires the various cipher *.sty files in the top-level directory. If using latexmk to compile, this path is included automatically by the .latexmkrc file; otherwise, please copy to the same directory as the tex file.