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
Part 1 Given the following Regular Expressions, explain in detail the pattern accepted by each. Pay attention to all the characters being used. Your answers need not appear with

Hi, Can you do exercises: D2, D3, D4, and D5 on page 230 of the following book: http://www.daimi.au.dk/~bra8130/Wiley_book/wiley.html . The book can be downloaded for free from t

System.in and System.out should not be used anywhere in the programs except in main and only for testing purposes.  All calculations should be done in a method.  Note:  To use J

Write an assembly program that computes Fibonacci numbers 2-5. a. Assume Fib(0)=0 and Fib(1)=1. b. Store Fib(2) in EAX, Fib(3) in EBX, Fib(4) in ECX and Fib(5) in EDX. c. Use a LOO

Develop (i) a context diagram, and (ii) a use case diagram to model the following functionalities of an online brokerage house. eBroker is a discount online broker. An account h

Define Reasons for using Functions? 1. Evade rewriting the same code over and over. 2. It is simpler to write programs and keep track of what they are doing. Codes are able t

You are to build a Schema in XML Schema Language that will be used to support the development of the new central course information management system and other supporting applicati

Write 3 somewhat simple scripts / programs in any language, combination of languages, and/or software. Please tell me the task you are trying to accomplish in the scripts. Idea

I need help for C# XNA 2Dimension Game Development. I am gonna send the question and my solution(incomplete). I need you to complete it. Can you help me about that. I have 6-7 days

Using OOP,write a sample program to get the factorial of a number entered by a user