Giter VIP home page Giter VIP logo

jenigma's Introduction

A simplified enigma machine in Java

Build Status Code Smells

In winter 2015, I visited Bletchley Park, where I saw real Enigma machines.

I came home and decided to build a software one in Java, and make it an exercise with my second year computer science students.

Note that it was not a cryptographic exercice, but a software engineering one. It was tested against virtual enigma machines found on the internet (like this one) on sample texts with basic settings.

The students got fun. Me too.

I was able to find many information on the internet (e.g. the mapping of each rotor and reflector).

The GUI is basic: you type a letter on the keyboard, and a letter is highlighted on the GUI (the letter is also stored in a textfield). There is a known bug in the GUI: the rottors are "eaten" by the machine (i.e. they do not appear again in the rotor box when replaced by a new one).

I make it available for education purpose: I am happy to get feedback on that design. Note that some comments are still in French.

The design is simplified: the rotors cannot be shifted, and there is no plugboard.

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.