subject

Implement the RC4 stream cipher in C++. User should be able to enter any key that is 5 bytes to 32 bytes long. Be sure to discard the first 3072 bytes of the pseudo random numbers. THE KEY OR THE INPUT TEXT MUST NOT BE HARD CODED IN THE PROGRAM. IN C ++ please
Test your program with the following plain text:
The user should be able to input there own plain text file very important no hard code please
You should write two programs: encryption and decryption. The encryption program should input the plaintext file and output a cipher text in hex. The decryption program should input the cipher text file in hex and output the plaintext.
submit
Source code of the encryption program.
A screen shot showing the encryption with a 5 byte key.
The cipher text from the encryption, saved in hexadecimal (you may want
to use the "hex" output manipulator)
Source code of the decryption program.
A screen shot showing the decryption of the cipher text with the same 5 byte key.
The plaintext from the decryption of the cipher text (you need to convert hex text
to number) Put everything in one PDF or WORD file. Do not zip.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 2
question
Computers and Technology, 22.06.2019 20:40
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it
Answers: 2
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
You know the right answer?
Implement the RC4 stream cipher in C++. User should be able to enter any key that is 5 bytes to 32 b...
Questions
question
Mathematics, 22.10.2020 17:01
question
Chemistry, 22.10.2020 17:01
question
Mathematics, 22.10.2020 17:01
question
English, 22.10.2020 17:01