Write a program to decrypt encrypted messages, Programming Languages

You are working for a cryptography department, where one of your jobs is to decipher intercepted messages that have been encrypted using a book cipher. The messages are sent by different people, each of whom writes their plaintext in a different language to confuse any attempt to decipher the messages. But this has made them a little too confident, and you have discovered a very useful secret: unaware that their messages can be cracked, each sender tends to use the same book passage over and over; all that changes is where in that passage they start the encryption. Being very lazy, they always start the encryption within 20 letters of the start of the passage. So for the purposes of this task, the 'key' is simply the starting position in the book text, and is a number from 0 to 20. Your job now is to write a computer program (a real executable program, not a spreadsheet) that can be used to decrypt these intercepted messages. The program will be required to read the ciphertext from a file and to display the plaintext on the screen, along with the key that was used to encrypt it. You will be asked to demonstrate your program to the tutor in the lab class on the due date. This is so that you will be there to run the program and make any decisions that need making. You will be given several ciphertexts to practice on, but in the demonstration you will be asked to demonstrate your program on files you have not seen. You may write your program in whatever programming language you wish.

Posted Date: 2/16/2013 6:29:44 AM | Location : United States







Related Discussions:- Write a program to decrypt encrypted messages, Assignment Help, Ask Question on Write a program to decrypt encrypted messages, Get Answer, Expert's Help, Write a program to decrypt encrypted messages Discussions

Write discussion on Write a program to decrypt encrypted messages
Your posts are moderated
Related Questions
Write and test a simple perl program on the linux platform.  You may use any linux system you wish, including the Suse linux installed in the lab. Activities. Note:  to r

Scenario A campsite provides cabins for travellers to stay in overnight. A 'cabin' is a small wooden hut, containing bunk beds, table and chairs, a heater, and a small cookin

Write a python script that will take two file names as input (src, dest). Open src reading each line in the file, and replacing any occurrences of name with the string "redacted".

The schematic of the traffic light controller is as shown in figure 1. There are three control buttons on the panel: HAZ (Hazard), LT (Left) and RT (Right). Whenever, HAZ is clicke

This is the programming language of the Web. It is mainly used for validating forms. JavaScript & Java can be associated to each other. There exist several other differences betwee

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Class a Abstract Data Type: is a template for creating objects. A class describes a collection of related objects i.e. instances of the classes. Basically classes are user-defined

Procedure-oriented programming (POP):- This is a top-down programming approach, where the problem is viewed as a sequence of tasks to be done such as calculating, printing etc. A n

LALR Parser: Rule Table - Contains definitions of production rules within the grammar. Attributes: Count - Number of production rules in the table Child items:

One of the main strengths of the Perl programming language are its powerful text manipulation features. In this assignment, you will put them to  use for writing a Perl program tha