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 00:40
If you arrive at the same time as another user straight across from you yield if a. they flash your headlights at you b. you can’t see their turn signals c. you’re going street and they’re running d. you’re turning they’re going straight plz
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
The managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an .
Answers: 3
question
Computers and Technology, 23.06.2019 16:00
Helen is having a meeting with her colleagues in her company. they are working on the goals and objectives for the coming year. they want to ensure that these goals and objectives of the processes involved are properly evaluated. which system can helen and her colleagues apply to evaluate this? helen and her colleagues require a blank to evaluate the goals and objectives.
Answers: 2
question
Computers and Technology, 24.06.2019 19:00
In python a floating-point number must be written using scientific notation?
Answers: 1
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, 01.07.2020 15:01
question
Biology, 01.07.2020 15:01
Questions on the website: 13722362