Skip to content

This repository contains my resolutions of the set of problems of the Cryptopals challenges.

Notifications You must be signed in to change notification settings

Photon-einstein/Cryptopals

Repository files navigation

Cryptopals

Prerequisites

Before begin, ensure that you have the following installed:

  • CMake (version 3.10 or later)
  • A C++ compiler that supports C++17 (e.g., GCC, g++)
  • OpenSSL
  • Google Test
  • nlohmann-json3-dev C++ json library

Intro

This repository contains my resolutions of the set of problems of the Cryptopals challenges.
These challenges serve as a way for me to dive deep into the cryptography world.

To compile and run the program if the problem has a bash script:

To test each program just compile and run using the following bash script in the command line:

bash cryptopals_set_<set_number>_problem_<problem_number>

To compile and run the program if the problem has a CMakeLists.txt file:

Create a build directory and move into it

mkdir build
cd build

Configure the poject with CMake

cmake ..

Build the executable:

make

Run the executable:

./build/cryptopals_set_<set_number>_problem_<problem_number>

To run the tests if the problem has a tests/CMakeLists.txt file:

Create a build directory and move into it

mkdir tests/build
cd tests/build

Configure the project tests with CMake

cmake ..

Build the executable:

make

Run the tests:

./build/cryptopals_tests_set_<set_number>_problem_<problem_number>

Example:

Screenshot from 2023-04-11 00-00-41

About

This repository contains my resolutions of the set of problems of the Cryptopals challenges.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages