Giter VIP home page Giter VIP logo

minicrypto's Introduction

MiniCrypto

Practice environment for the CryptoPals challenges.

Thanks to shxy0 for setting up an example project for CMake+ImGui+SDL2.

Dependencies

Windows

Installing dependencies on Windows

  • Having git bash, cygwin, WSL or something to run wget, git and bash is required.
  • Run ./install-dependencies-win.sh

Development Environment

VS Code

A proper Visual Studio may still be needed for compiling OpenSSL

  • Extensions:
    • C/C++
    • CMake
    • CMake Tools
  • Initial setup:
    • Open the project folder in VS Code
    • Hit Ctrl+Shift+P and run "CMake: Configure"
    • If asked to select a kit, pick the compiler you want to use
    • Hit Ctrl+F5 and select the target

Visual Studio 2022 Preview

  • Open the directory as a local folder in VS2022
  • Wait for CMake generation finished. message in the Output tab
  • From the top bar, using the arrow next to Select Startup Item pick minicrypto.exe
  • Hit Ctrl+F5

Linux

  • Install SDL2 development libraries
  • Run ./install-dependencies-linux.sh to populate 3rdparty/imgui and 3rdparty/imnodes
  • Basic CMake process
    • mkdir build && cd build && cmake .. && make
    • You can run the tests with make test
      • For more verbose output you can run
        • ./tests/tests -s

minicrypto's People

Contributors

karethoth avatar

Watchers

 avatar James Cloos 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.