Git Product home page Git Product logo

cryptopals's Introduction

cryptopals

Solutions for the Matasano Crypto Challenges.

usage

This code is currently only python2.7 compatible. To run it install all dependencies

pip install -r requirements  # method 1
pip install pycrypto requests web.py  # method 2

Then use python main.py to run individual problems, individual sets, or all problems

$ python main.py --help
usage: main.py [-h] [--set SET] [--problem PROBLEM]

optional arguments:
  -h, --help         show this help message and exit
  --set SET          the set to run
  --problem PROBLEM  the problem to run

Some problems (30, 31, 36, 37, 38) involve running a server. This server can be run by executing the python file relating to the problem, e.g. to run problem 30 with a server

# in terminal 1
python p30.py
# in terminal 2
python main --problem 30

When you run the problem in terminal 2 you'll see the requests being made in terminal 1. If you prefer to not run a server the problems will default to using function calls that mimic calling an actual server.

progress

  • Set 1 ✓ [8/8 complete]
  • Set 2 ✓ [8/8 complete]
  • Set 3 ✓ [8/8 complete]
  • Set 4 ✓ [8/8 complete]
  • Set 5 ✓ [8/8 complete]
  • Set 6 ✓ [8/8 complete]
  • Set 7 ✓ [8/8 complete]
  • Set 8 ? [REDACTED]

cryptopals's People

Contributors

antonkueltz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.