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 08:00
Two technicians are discussing the common u-joint. technician a says its input and output speeds should be equal. technician b says that it normally has two yokes. which technician is correct?
Answers: 1
question
Computers and Technology, 22.06.2019 08:30
On the loan worksheet in cell c9 enter pmt function to calculate the monthly payment for the altamonte springs 2018 facilities loan. ensure that the function returns a positive value and set the reference to cells b5 and b6 as absolute references.
Answers: 2
question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories is this true or false?
Answers: 2
question
Computers and Technology, 22.06.2019 15:30
Whats are the different parts of no verbal comunication, especially body language?
Answers: 3
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, 31.01.2021 01:50
question
Social Studies, 31.01.2021 01:50
Questions on the website: 13722361