sacrypt , test code for SAC tutorial
To be delivered in SAC 25, Catania
Instructions
Since this is using the RAPL interface, it’s not going to work in non-Intel or AMD architectures.
- Install uv
- uv sync
- Install nvml if needed
You can run the different versions of the program from uv run, by doing
uv builduv run sacrypt ../data/malavoglia.txtwithv1at the end for the fastest/least energy-spending version
Description
we have a small program here that reads data from text files and computes frequencies. It does so in two different ways: using itertools and using “clean” clde, with separation of concerns. Code is in the sacrypt (SAC+cryptanalysis) in the src directory.