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
Question: (i) Prepare brief notes on the Logical Storage Manager. (ii) Show benefits that can be achieve by using the LSM Manager. (iii) LSM organizes and optimizes disk

On-line fair and ethical share trading system (Olfest) A system is required that allows on-line customers to buy and sell stock market shares in a selection of companies. B

i need a coding to glow 8 LEDs on a port with pwm effect

i need help

Am unable to write to file of type=file in perl script.It does not have any extension.Help me..

Question: (a) How does HTML allow you to: (i) turn an image into a clickable hyperlink? Include code to switch off the default border (ii) convert the above hyperlink i

Web Services Information Language WCF is designed using assistance focused structure concepts to support allocated processing where solutions have distant customers. Customers can

Add macros to MS word 2010 according to A PARTICULAR FORMAT

Most popular news websites publish their RSS ( Really Simple Syndication ) feeds. If you haven 't heard of RSS, you may have a look at this article on Wikipedia. In this assignm

Corrected Exercise #1: 1. Explain the following unexpected result: why did you get the system date command instead of the script? $ whereis date date: /bin/date ... $ echo $PATH