https://github.com/lukius/cryptopals
Cryptopals crypto challenges
https://github.com/lukius/cryptopals
Last synced: about 2 months ago
JSON representation
Cryptopals crypto challenges
- Host: GitHub
- URL: https://github.com/lukius/cryptopals
- Owner: lukius
- License: mit
- Created: 2014-08-13T06:17:47.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2026-05-07T01:14:25.000Z (about 2 months ago)
- Last Synced: 2026-05-07T03:19:05.617Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 1.81 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository contains my solutions for the [Cryptopals crypto challenges](http://cryptopals.com/).
#### Requirements
* Some of them use the [PyCrypto](https://www.dlitz.net/software/pycrypto/) library.
* Challenge 62 (set 8) uses [GMP](https://gmplib.org/) and a [Boost.Python](http://www.boost.org/doc/libs/1_62_0/libs/python/doc/html/index.html) module. Even though it is already compiled here, you may need to install these for compiling it for other platforms (and Python 2.7 headers as well).
* Copy libraries in `common/math/cpp/bin/` to the system library path before running the challenge.
#### Usage
* The `run.py` script runs every challenge passed as command-line argument.
* The `-s` option specifies a comma-separated list of sets to be run.
* The `-c` option, a comma-separated list of challenges inside the given sets.
* If any of these options is missing, all sets/challenges will be run.