Git Product home page Git Product logo

chakshugupta13 / local-collision-differential-attack-on-reduced-sha-256-upto-24-rounds Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 6.0 98 KB

This repository contains C and/or C++ implementations for finding Local Collision Conforming Message Pairs through Differential Attack on Reduced-Round SHA-256 up to 24 Rounds. Also, this repository contains the C++ implementations of SHA-256, SHA-512 and SHA-384.

C 49.83% CMake 0.56% C++ 49.61%
sha-256 cryptography cryptanalysis differential-attack sha-512 sha-384

local-collision-differential-attack-on-reduced-sha-256-upto-24-rounds's Introduction

Local-Collision-Differential-Attack-on-Reduced-SHA-256-upto-24-Rounds Build Status

This repository contains the implementation of the local-collision differential 22-rounds attack (deterministic) & 24-rounds attack (probabilistic) on SHA-256 in C which are described in "New Collision Attacks against Up to 24-Step SHA-2".

Project Build Procedure

  1. Clone the repository: git clone "https://github.com/ChakshuGupta13/Local-Collision-Differential-Attack-on-Reduced-SHA-256-upto-24-Rounds.git"
  2. Traverse to the cloned directory and then build directory: cd ./Local-Collision-Differential-Attack-on-Reduced-SHA-256-upto-24-Rounds/build
  3. Build CMake project: cmake .
  4. Build executable files: make

Mount Attack

  1. To mount 22-round attack, run: ./22-attack inside the build directory.
  2. To mount 24-round attack, run: ./24-attack inside the build directory.

Note: As the 24-round attack is probabilistic in nature, therefore, the running time for the program is approximately 5-10 minutes.

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.