subject

CIS 3360–Security in ComputingSpring 2020HW #2Checksum (100points)In this assignment you'll write a program that calculates the checksum for the text in a file. Your program will take two command line parameters. The first parameter will be the name of the input file for calculating the checksum. The second parameter will be for the size of the checksum (8, 16, or 32 bits).The program must generateoutput to the console (terminal) screen as specified below.

Command Line Parameters

1.Your programmust compile and run from the command line.
2.The program executable must be named "checksum" (all lower case, no spaces or file extension).
3.Input the required file names as command line parameters. Your program may NOT prompt the user to enter the file names. The first parametermust be the name of the file used for calculating the checksum, as described below. The secondparametermust be the size, in bits, of the checksum. The sample run command near the end of this document contains an example of how the parameters will be entered.
4.Your program should open thetwo files, echo the processed input to the screen, make the necessary calculations, and then outputthe ciphertext to the console (terminal) screenin the format described below.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
I'm taking a class on how to make a movie, and it offers some apps that would be in the process. the thing is, i don't have any of those ha. if you have any tips on some apps i could use, that would be awesome. i don't have an iphone, so don't suggest any apps like imovie. i know that this is a weird question, but it would be super for me. : )
Answers: 2
question
Computers and Technology, 23.06.2019 09:50
Allison and her group have completed the data entry for their spreadsheet project. they are in the process of formatting the data to make it easier to read and understand. the title is located in cell a5. the group has decided to merge cells a3: a7 to attempt to center the title over the data. after the merge, allison points out that it is not centered and looks bad. where would the title appear if allison unmerged the cells in an attempt to fix the title problem?
Answers: 2
question
Computers and Technology, 24.06.2019 15:50
Andy would like to create a bulleted list. how should he do this? andy should click on the bullet icon or select the bullet option from the menu and then type the list. andy should press the shift key and the 8 key at the beginning of each line of text. andy should type the text and then click on the bullet command. andy should press return and the bullets will automatically
Answers: 2
question
Computers and Technology, 24.06.2019 18:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best-suited for this?
Answers: 1
You know the right answer?
CIS 3360–Security in ComputingSpring 2020HW #2Checksum (100points)In this assignment you'll write a...
Questions
question
Mathematics, 07.11.2019 07:31
question
Mathematics, 07.11.2019 07:31
Questions on the website: 13722361