Cryptopals is a set of exercises for learning about cryptography.
Implementations are written in Python3. Exercises without an expected answer are verified using the SHA1 hash of the solution for minimizing verbosity and spoilers.
Tests were written using the pytest framework. To execute the tests, run pytest
from the root directory.
Full list of dependencies can be found in requirements.txt
. Dependencies can be installed (preferably with a virtual environment) through pip install -r requirements.txt
.