Skip to content

amirbawab/Enigma-machine-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enigma Machine 3.1

####What's New in 3.1:

  • Enhanced the quality of lines in wires mode

####What's New in 3.0:

  • Restart and Exit from menu (File > Restart/Exit)
  • Wires connection mode (Display > Wires connection)

####The Enigma Machine: The Enigma machine is a piece of spook hardware invented by a German and used by Britain's codebreakers as a way of deciphering German signals traffic during World War Two. It has been claimed that as a result of the information gained through this device, hostilities between Germany and the Allied forces were curtailed by two years.
BBC - History

####Quick link to the Enigma Machine 3.1 GUI (Scroll down for screenshots) Enigma Machine 3.1 (GUI)

Note: This jar file is the same as the one in the Runnable JAR folder

##How to use the enigma machine

####A - Using the console

#####ConsoleDriver.java

// Create machine
Enigma enigma = new Enigma(Enigma.I, Enigma.II, Enigma.III, Enigma.B);

// Configure rotors
enigma.getLeftRotor().setRotorHead('A');
enigma.getCenterRotor().setRotorHead('B');
enigma.getRightRotor().setRotorHead('C');

// Configure rings
enigma.getLeftRotor().setRingHead('D');
enigma.getCenterRotor().setRingHead('E');
enigma.getRightRotor().setRingHead('F');

System.out.println(enigma.type("HELLO WORLD"));

#####Output

EYGHG AIAJV

####B - Using the graphical user interface

#####GUIDriver.java

###Display > Text box
###Display > Keyboard
###Display > Wires connection

About

Enigma machine simulator (GUI) implemented in Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages