Code Monkey home page Code Monkey logo

learn-feal-4-differential-cryptanalysis's Introduction

CA642 - Cryptography and Number Theory

Differential Cryptanalysis of the FEAL-4 Block Cipher

This is my solution to the Differential Cryptanalysis of the FEAL-4 algorithm [class takes in 2014]. This is a project from Dublin City University.

Usage

Download both *.java file:

  • cryptaFEAL-4.java content the code for the Differential Cryptanalysis
  • feal.java content the code from the course

Just launch the code and It should work. It takes around 1h30 to fully recover the key. I could have improved the computational cost of the algorithm. Don't hesitate to use another structure to improve the efficiency. If I remember correctly, at the end you should recover 4 different keys. All the keys are good yet the teacher wants you to give him only one key. Just give him all the correct keys and explain that all of them works just fine.

Note: You can find the real key by disassembling the java applet of the teacher. It will allow you to verify the correctness of your answer

Information

I got 24/25

learn-feal-4-differential-cryptanalysis's People

Contributors

twice22 avatar

Watchers

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.