Software implementation of a simple three rotor enigma

Assignment Help C/C++ Programming
Reference no: EM13939046

Write a software implementation of a simple three rotor Enigma Machine. Please refer to the following wikipedia entries for the Enigma Machine and the Enigma Rotor details.

https://en.wikipedia.org/wiki/Enigma_machine
https://en.wikipedia.org/wiki/Enigma_rotor_details

For the current implementation, consider only the rotors I - V, and the stock B & C reflectors. For sake of convenience, our message format will contain everything including the settings, as explained below.

machine_settings ( reflector, left rotor, middle rotor, right rotor )
initial_position encrypted_message_indicator
message ( this may be more that one line )

For example :
B I II III
AAA AAA
ZZZZZ ZZZZZ ...

The initial position is where the rotors start, the encrypted message indicator is the input then, and the resulting values would be the message indicator. That indicator becomes the initial position for the message. Historically the message body was written as 4 or 5 letter groups.

Kindly refer to the attached document ("Enigma Machine.doc") for detailed explanation of encryption logic using examples.

Attachment:- Enigma Machine.doc

Reference no: EM13939046

Questions Cloud

How would supplements be administered and why : A patient was experiencing stomach problems and was starting to show signs of vitamin deficiencies. Which vitamin would be most affected with a stomach pathology and why? How would supplements be administered and why?
Support the operation of the buildings and sites : Overview of the items which support the operation of the building(s) and sites - Sustainable building and site designs are transforming civil engineering industry significantly in the past decade. This project will give each group an opportunity to..
Z scores and the area under the normal curve : Find the proportion of observations (area under the curve) from a standard normal distribution that satisfies each of the following statements:
How many gallons of direct materials should be purchased : How many gallons of direct materials should be purchased during the three months ending March 31?
Software implementation of a simple three rotor enigma : Write a software implementation of a simple three rotor Enigma Machine. Please refer to the following wikipedia entries for the Enigma Machine and the Enigma Rotor details.
Article review - the implications of digitization on art : Write an Article review. Article- The Implications of Digitization on Art by Joseph Peters, Write a one paragraph summary to the entire reading or of a part that contains a stimulating idea
Analysis to assess the strategic viability of the fdi : You are required to make an FDI in an industry and country of your choice. The aim of the report is to present a country and industry risk analysis to assess the strategic viability of the FDI.
How does intergrated action of cardiovascular, respiratory : How does the intergrated action of the cardiovascular, respiratory and other body systems explain why heart rate is different for an athlete when he is at rest and just prior to doing say 100 metre sprint .
Make an fdi in an industry and country of your choice : You are required to make an FDI in an industry and country of your choice. The aim of the report is to present a country and industry risk analysis to assess the strategic viability of the FDI.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd