Giter Site home page Giter Site logo

protobombe's Introduction

ProtoBombe

A code implementation of Alan Turing's bombe.

Note: for a very realistic software Bombe, be sure to check out this one: http://www.lysator.liu.se/~koma/turingbombe/

How to use: We will be using the same cypher text, crib, and map as in the example from ~koma's web site: http://www.lysator.liu.se/~koma/turingbombe/TuringBombeTutorial.pdf

Cyphertext:

S N M K G G S T Z Z U G A R L V

Crib:

W E T T E R V O R H E R S A G E

  1. Create a map file in JSON format. See map.json for an example.
  2. Make sure the map file is correctly specified in the app.config file.
  3. Run BombeProto1.exe with the starting position of the rotors. If you don't pass it any it will default to Z Z Z.
  4. All possible matches for that map will print out with the plugboard settings.

Mapping file:

1. wheelTypes: An array of the rotors you want to test. Order is important. (The first wheel is the left-most on the enigma.)
2. reflectorType: Which reflector to use.
3. enableDiagonalBoard: If 'true', the diagonalboard is enabled. (The very first bombe didn't have a diagonal board, so this feature allows you to see the difference it makes.)
4. currentEntry: which bus should receive the signal.
5. inputLetter: which letter on the aforementioned bus should receive the signal.
6. mapEntries: an array of Enigma machines, how many steps ahead of the key they are, and which buses they map to. Order *is not* important.

protobombe's People

Contributors

ctigeek 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.