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

  Assume that section

Assume that section _1 seats are in front of the stage, and the price is expensive. say, each seat in the 1st three rows is $180.00, and each seat in the last two rows is 10% less;

  Compute the sum of the first

Assume there is a variable , h already associated with a positive integer value. Write the code necessary to compute the sum of the first h perfect squares, starting with 1 .

  Detailed proposal of the hardware and types

Write a detailed proposal of the hardware and types of NICs you recommend they must purchase to make this project a success.

  Write out the sorted array

Write complete specifications for this problem and design a modular solution. What classes and methods did you identify during the design of your solution?

  Write c program that forks two child processes

Write a C program that forks two child processes. The parent process will print all prime numbers up to 229, the first child process will print the first 50 Fibonacci numbers.

  Native method with deadlock detection and recovery

The naïve method with deadlock avoidance and the naïve method with deadlock detection and recovery - what will you measure and compare in order to determine the winner or which is better

  Menu with options to enter student information

Create a program that uses a menu with options to enter student information (name, ID, GPA), print student information, or quit the program. Use data files and FILE pointers to store and print information entered.

  Generate an object-oriented design for a system

Generate an object-oriented design for a system that keeps tracks of your CD and DVD collection. Identify each of the classes, associated data, and operations for the classes.

  Define a class for file that is derived from document

Similarly, define a class for File that is derived from Document and includes a instance variable for the pathname. The textual contents of the file should be stored in the inherited variable text. Redefine the toString method to concatenate all t..

  Why are forward declarations needed in c

Why are forward declarations needed in C/C++? In what condition can they be omitted?  (Please describe.)

  Write a program that uses a loop to display projected rates

Write a program that will convert US dollar amounts to Canadian dollar (1 CND = 0.92 USD). Format your currency amounts in two decimal places and trailing zeros.

  Program should read in the file and place periods

Create a C++ program that will read this file and correct errors in the English syntax of the file. The program should Read in the file and Place periods at the end of all sentences throughout this file

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