Skip to content
This repository has been archived by the owner on May 27, 2018. It is now read-only.

kotcrab/crabnigma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

crabNigma

Enigma implementation in Java with GUI

No gui example: (Check out EnigmaNoGuiExample.java)

Enigma enigma = new Enigma(RotorType.II, RotorType.IV, RotorType.I, ReflectorType.UKW_B, new Plugboard().addConnection('G', 'T').addConnection('J', 'P'));
enigma.setRot1Pos(4);
enigma.setRot2Pos(7);
enigma.setRot3Pos(14);

System.out.println(enigma.processString("WELCOME TO CRABNIGMA")); //this will result NSVGUHR EC HLDSUESWY

GUI screenshot:
GUI screenshot

About

Enigma implementation in Java with GUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages