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 07:30
Jasper and samantha are in a robotics competition. the guidelines state that the robots should be able to move a 10-gram weight at least 2 meters and turn in a circle. jasper and samantha have already built the robot. which step of the design process should they follow next to decide whether their robot meets the minimum criteria for the competition?
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
Which statistical function in a spreadsheet you to see how far each number varies, on average, from the average value of the list?
Answers: 2
question
Computers and Technology, 23.06.2019 12:50
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Into what form does the barcode reader convert individual bar patterns?
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, 08.01.2021 18:30
question
Mathematics, 08.01.2021 18:30
Questions on the website: 13722359