Coder Social home page Coder Social logo

enigmacode's Introduction

Enigma Pattern Inc.

EnigmaCode

This is the technical specification of our Breaking the Enigma Code project, you can read more about it here: https://www.linkedin.com/pulse/how-we-cracked-enigma-code-using-artificial-lukasz-kuncewicz/.

Tools we used

AI that classifies the German language

We used a two-layered recurrent neural network (first layer: 50 LSTM neurons, second layer: simple sigmoid neuron as the output). We trained the network on 10 letters German words against 10 letters random strings. Since they are VERY different, even this simple approach proved successful.
Technologies: keras (on TensorFlow)

Enigma simulator

We wrote a small python system that mimicked the Enigma rotors and plugs. Also, since checking the output in the neural networks took too long, we filtered them by checking if the output follows the frequencies of two-letters substrings in the German language. This was a quick and elegant solution to reduce the amount work for neural network to less than 1% of the initial batch.
Technologies: pure python, one thread only

1000 servers system

We used DigitalOcean and their API to create a 1000 of their smaller droplets (virtual servers). They were connected to RabbitMQ (installed on a slightly bigger droplet) resposible for distributing the combinations to check and for gathering the results. We stored them for the final checkout in SQLite.
Technologies: DigitalOcean API, RabbitMQ, SQLite.

Things we would do differently now

  • writting the Enigma simulator in C++ - this would speed the module a few times (estimation)
  • adding an AI that would try to guess the plugs - the same way Turing did - this would allow us to take more plugs into consideration, growing the number of passwords' combinations

enigmacode's People

Contributors

lukaszinto avatar lukaszkuncewicz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

enigmacode's Issues

Where is the code?

There is a lot of talk abut this, but there is no source code anywhere.
You published scientific papers on computing something without actually showing how to do it?
What did I miss?

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.