Loading
Home › Computer Science Help › I need to write a program that encrypts the alphabetic le...
Status: Completed

I need to write a program that encrypts the alphabetic letters in a file using the Vigènere cipher

Date Posted: 25/09/2018
Category: Computer Science
Due Date: 29/09/2018
Instruction
In this assignment you’ll write a program that encrypts the alphabetic letters in a file using the Vigènere cipher. Your program will take two command line parameters containing the names of the file storing the encryption key and the file to be encrypted. The program must generate output to the console (terminal) screen as specified below. Programming Assignment 1 is defined in detail here: pa1.pdf Please note there are 5 key files, respectively named k0.txt thru k4.txt. There are also 5 plaintext files named p0.txt thru p4.txt. And when you unpack the ZIP you'll also see the 5 base case outputs used to check your program's outputs. The base cases are the standard solution for the five respective key and plaintext files. The test files and script are in the ZIP:pa1Files.zip
Bidders
Kimwoods_d_924 8 years ago
Rated 8.9 earned 9357.10 around 278 assignments.
Hello, I hope you're fine. Your paper is within my area of specialization; I promise quality and timely paper that meets all the work requirements. I deliver original work free of plagiarism. Kindly assign me. Thank you
$335.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
onessmati14 8 years ago
Rated 9.59 earned 37978.64 around 1232 assignments.
Hello dear client, I would like to help you with your task. Please assign me. Thank you!
$115.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
professionalwriter_d_496 8 years ago
Rated 8.85 earned 19649.48 around 531 assignments.
Hello, I promise the best
$250.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
Prof1990 8 years ago
Rated 9.52 earned 54153.62 around 1785 assignments.
Hello, this is a snack!! am a computer science tutor, well conversant with Web and mobile programming with more than 4yrs experience in html,css,PHP, mysql, C++, Java, and Android programming, allow me to assist you in this and this and other computer science related classes through out the semester and reasonable rates. Thanks in advance.
$100.00
  • Hello, will you be able to do my homework on time? Have you checked it?
    User_16832 | Sep 25, 2018, 19:20 PM
  • I have not gone through all the files but you can brief me. which language do you want the program written in?
    Prof1990 | Sep 25, 2018, 19:24 PM
  • Java or C would be good
    User_16832 | Sep 25, 2018, 19:24 PM
  • you guarantee that I won't have any problems with plagiarism, right?
    User_16832 | Sep 25, 2018, 19:25 PM
  • Yes, 0 plagiarism
    Prof1990 | Sep 25, 2018, 19:32 PM
  • so, will you be able to make this work through the terminal? and what language will it be?
    User_16832 | Sep 25, 2018, 19:33 PM
  • I will use JAVA
    Prof1990 | Sep 25, 2018, 19:35 PM
  • so, could you notify me as soon as you will finish​ it?
    User_16832 | Sep 25, 2018, 19:39 PM
  • so you will be on time?
    User_16832 | Sep 25, 2018, 19:39 PM
  • I will finish it on time. Your deadline is 29th right?
    Prof1990 | Sep 25, 2018, 19:41 PM
  • yes, but better if you will send me the code in advance to make sure that everything is fine!
    User_16832 | Sep 25, 2018, 19:42 PM
  • Alright, ill keep in touch
    Prof1990 | Sep 25, 2018, 19:48 PM
  • Hey there
    Prof1990 | Sep 27, 2018, 21:06 PM
  • hello! have you done it?
    User_16832 | Sep 28, 2018, 01:52 AM
  • Hey! Yes, your program is ready
    Prof1990 | Sep 28, 2018, 18:48 PM
  • Should I send the entire project or just the code?
    Prof1990 | Sep 28, 2018, 18:48 PM
  • I have uploaded two files, one is the code and the zip is the whole program, when you run it on your compiler, you will be prompted to enter the text file i.e po.txt, upon running the encrypted output will be displayed on the terminal. Check the files and then get back to me for any questions. Thank you.
    Prof1990 | Sep 28, 2018, 19:02 PM
  • thank you, I'm not at home right now, but I will check by tomorrow and let you know if I​ have any questions. Thank you that you made it earlier!
    User_16832 | Sep 28, 2018, 19:30 PM
  • hello, I'm checking it right now and it doesn't​ work through the terminal
    User_16832 | Sep 30, 2018, 00:53 AM
  • Have you added the text files and the keys?
    Prof1990 | Sep 30, 2018, 08:07 AM
  • yes could you send me your output?
    User_16832 | Sep 30, 2018, 08:53 AM
  • Check the screenshot I have uploaded
    Prof1990 | Sep 30, 2018, 12:53 PM
  • it says file not found
    User_16832 | Sep 30, 2018, 17:35 PM
  • You have to add the files in the for them to be called, open the zip file and load the project in your compiler
    Prof1990 | Sep 30, 2018, 21:37 PM
  • yes, I​ did, I ran the VignereCipher.java
    User_16832 | Oct 01, 2018, 00:03 AM
  • but i doesnt work
    User_16832 | Oct 01, 2018, 00:03 AM
  • I uploaded the screenshot of output i have
    User_16832 | Oct 01, 2018, 03:03 AM
  • i mentioned that the program should work in terminal
    User_16832 | Oct 01, 2018, 03:03 AM
  • The program is working, you need to include the files you sent into the project for them to be called, not just the code alone. Have you done that?
    Prof1990 | Oct 01, 2018, 08:36 AM
  • If you look at my screenshot on the left the files can be seen, then down at the terminal you can see my output
    Prof1990 | Oct 01, 2018, 08:37 AM
  • okay, I have sent you my screenshot of the output
    User_16832 | Oct 01, 2018, 19:32 PM
  • I have seen your screenshot. why did you enter 1d0 when prompted to enter in order to continue?
    Prof1990 | Oct 03, 2018, 23:47 PM
  • The program i build is running perfectly well. I don't understand the problem with your end.
    Prof1990 | Oct 03, 2018, 23:48 PM
  • Hey there? You went missing! I made a well working program for you. Kindly release the payment
    Prof1990 | Oct 15, 2018, 23:20 PM
  • The test script runs a diff command to compare your output to the expected output. The ">" symbol indicates lines that are missing and the "<" symbol indicates lines that don't belong. So with this knowledge, you can see that your code is outputting "File not found" and does not output the key, plaintext, or ciphertext. If you want to discuss more tomorrow, I'd be happy to do so. However, I can't extend the assignment deadline any farther without Professor McAlpin's permission. The bottom line is that you need to change your program to use command line arguments, then make sure your outputs match reasonably closely with the test scripts. This is what I received from my professor. Could you solve this problem?
    User_16832 | Oct 15, 2018, 23:22 PM
  • I tried to explain to you but you said it just works fine However, even my professor said it does not
    User_16832 | Oct 15, 2018, 23:23 PM
  • I have 3 hours to solve this problem because​ he just sent it to me
    User_16832 | Oct 15, 2018, 23:23 PM
  • I dont know how to solve this
    User_16832 | Oct 15, 2018, 23:23 PM
  • Right now, you have a scanner that reads from System.in. Your program needs to accept the file names as command line arguments instead
    User_16832 | Oct 15, 2018, 23:24 PM
  • As soon as you will solve it, I will release​ it
    User_16832 | Oct 15, 2018, 23:24 PM
  • I have several assignments in parallel here, however, this one is the one I have problems with
    User_16832 | Oct 15, 2018, 23:25 PM
  • could you solve it?
    User_16832 | Oct 15, 2018, 23:25 PM
  • Before we get to solve the problem, can I get something work the work done?
    Prof1990 | Oct 15, 2018, 23:25 PM
  • I know where the problem is
    Prof1990 | Oct 15, 2018, 23:26 PM
  • what do you mean?
    User_16832 | Oct 15, 2018, 23:27 PM
  • Release then I go ahead and fix the issue
    Prof1990 | Oct 15, 2018, 23:29 PM
  • Will you be able to do this in 3 hours?
    User_16832 | Oct 15, 2018, 23:31 PM
  • I just uploaded the output I should get in terminal
    User_16832 | Oct 15, 2018, 23:34 PM
  • YES
    Prof1990 | Oct 15, 2018, 23:34 PM
  • I promise to you that I will release it but could you fix it, I told you that I had a mistake but you didn't want to discuss it, I am using this portal for a long time and I have never had unreleased payments.
    User_16832 | Oct 15, 2018, 23:36 PM
  • You went silent, check this thread, until today when i've contacted you
    Prof1990 | Oct 15, 2018, 23:40 PM
  • I have released it
    User_16832 | Oct 15, 2018, 23:41 PM
  • could you fix it now?
    User_16832 | Oct 15, 2018, 23:41 PM
  • and could you check it with pa1test.sh file, please!
    User_16832 | Oct 15, 2018, 23:42 PM
  • I have only 3 hours left
    User_16832 | Oct 15, 2018, 23:42 PM
  • hello?
    User_16832 | Oct 15, 2018, 23:45 PM
  • Seen
    Prof1990 | Oct 15, 2018, 23:47 PM
  • can I expect it to be fixed in 3 hours?
    User_16832 | Oct 15, 2018, 23:48 PM
  • Yes am working on it
    Prof1990 | Oct 15, 2018, 23:51 PM
  • How is it?
    User_16832 | Oct 16, 2018, 02:00 AM
  • hello?
    User_16832 | Oct 16, 2018, 03:36 AM
  • i have 10 mins left
    User_16832 | Oct 16, 2018, 03:36 AM
  • hey?
    User_16832 | Oct 16, 2018, 03:36 AM
  • nice one!
    User_16832 | Oct 16, 2018, 06:35 AM
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
Essaymasters 8 years ago
Rated 8.94 earned 80799.14 around 2500 assignments.
I WILL DO THIS WORK FOR YOU AND I WILL GIVE YOU AN A GRADE PAPER!!.
$200.00
  • Hello, will you be able to do my homework on time? Have you checked it?
    User_16832 | Sep 25, 2018, 19:21 PM
  • Yes I will do it and give you a good grade
    Essaymasters | Sep 25, 2018, 19:23 PM
  • it should be unique, I mean I​ won't have any problems with plagiarism right?
    User_16832 | Sep 25, 2018, 19:24 PM
  • Yes
    Essaymasters | Sep 25, 2018, 19:25 PM
  • oh, i thought the price is 100, but its 200, its too expensive, sorry!
    User_16832 | Sep 25, 2018, 19:26 PM
  • For this work its only 200 that can motivate me to do it
    Essaymasters | Sep 25, 2018, 19:26 PM
  • okay, sorry!
    User_16832 | Sep 25, 2018, 19:27 PM
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
Dr_Newton 8 years ago
Rated 9.39 earned 16537.18 around 403 assignments.
Hey, i just went through your paper's details.I'm able and willing to start working on this paper immediately.Having been both an academic writer and a professor for quite a number of years now, i have ammased and mastered the art of writing and grading therefore;i guarantee you an exemplary,well detailed and plagiarism free paper. i will be done in a few hours hence giving you ample time to go through it. Looking forward to working with you on this and more projects .Thanks :)
$550.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
phoniextutor 8 years ago
Rated 8.98 earned 50856.21 around 1767 assignments.
Hello. Kindly ASSIGN me please, promise to deliver HIGH-QUALITY, PLAGIARISM FREE and 100% GRAMMAR WORK that will guarantee you A+
$120.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}