This code is part of a university project. It performs simple side-channel attacks named DPA and CPA attack on AES algorithm using the given power traces and plaintexts.
When performing DPA attack, the accuracy is 13/16 on the "known_key" dataset. When performing DPA attack, the accuracy is 16/16 on the "known_key" dataset.
You can find the dataset here: https://github.com/GaPhil/dpa