/cryptohack-solutions

Solutions repository for the cryptography site "Cryptohack".

Primary LanguagePython

Cryptohack solutions

This repository shows solutions of the challenges offered by Cryptohack.org.

To find a solution, please refer to the following file. Afterward, search for it in the repository (the repository follows the same structure as the README).

The provided structure corresponds to the "Challenges" section of Cryptohack.org.org, not the "Courses" section.

Modules to install

  • cryptodome
pip3 install PyCryptodome
  • pwntools
pip3 install pwntools

Challenges

Introduction

Challenges

  • Finding Flags
  • Great Snakes
  • Network Attacks TODO

General

Encoding

  • ASCII
  • Hex
  • Base64
  • Bytes and Big Integers
  • Encoding Challenge TODO

XOR

  • XOR Starter
  • XOR Properties
  • Favourite byte
  • You either know, XOR you don't
  • Lemur XOR TODO

Mathematics

  • Greatest Common Divisor
  • Extended GCD
  • Modular Arithmetic 1
  • Modular Arithmetic 2
  • Modular Inverting

Data Formats

  • Privacy-Enhanced Mail? TODO
  • CERTainly not TODO
  • SSH Keys TODO
  • Transparency TODO

Mathematics

Modular Math

  • Quadratic Residues
  • Legendre Symbol
  • Modular Square Root TODO
  • Chinese Remainder Theorem TODO

Lattices

TODO

Brainteasers Part 1

TODO

Brainteasers Part 2

TODO

Primes

TODO

Symmetric Ciphers

TODO

RSA

TODO

Diffie-Hellman

TODO

Elliptic Curves

TODO

Hash Functions

TODO

Crypto On The Web

TODO

MISC

TODO

Post-Quantum

TODO

CTF Archive

TODO