Giter Club home page Giter Club logo

enigmam3simulator's Introduction

EnigmaM3Simulator ๐Ÿ“œ

Table of Contents

Description

This is a simple Python app that simulates Enigma M3 encryption. The rotors can be chosen from type I, II, and III. The reflector used is type B (UKW-B). The wiring and notch used in each rotor type are referenced from here

253582898-69070540-34a6-43f3-8eca-dd83b527c5ea

Program Requirements and Installation

  • Python 3.9 or Above
    % sudo apt install python3
    
  • PyQt5
    % pip install PyQt5
    

Get Started

  1. Start the program
    % python src/App.py
    
  2. Configure each rotor's type, Position, and Ring.
  3. Configure the plugboard (the bottom one) by clicking the letter in pairs. The same color represents the switched pair. To unplug, re-click the letter.
  4. The text can be inputted through keyboard button (the middle one), keyboard press, or by clicking the Edit button in either Plain Text or Cipher Text text fields (click Encrypt or Decrypt afterward).
  5. After each keyboard click/press the letter in lampboard will light up. The encrypted text will also be displayed on the Cipher Text text field (or in Plain Text if you clicked Decrypt)
  6. Each encryption step will be displayed on the right side.
  7. Click Clear to clear Plain Text, Cipher Text, and the encryption step.

Note: if you clicked delete or backspace key on your keyboard, for each click, the text in Plain Text and Cipher Text will be deleted by one letter. Some of the steps will also be deleted. Rotor 1 will also be returned one step. Note that the returned rotor is limited to rotor 1, hence this method will not work for all condition.

Author

Puti Nabilla Aidira (13521088)

enigmam3simulator's People

Contributors

putinabillaa avatar

Watchers

 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.