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.
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.