Problem
1. Write two computer programs to simulate a Unicode streamcipher that consists of both
encryption and decryption algorithms. The encryption programaccepts inputs from an
existing text file, called “letter.txt.” The encryption programproduces an output ciphertext
file, called “secret” The decryption program takes “secret” asinput and decrypts it into a
plaintext, called “message.txt.”
- The random “seed” must be known, but be kept secure, by thepseudorandom number
generators in both encryption and decryption programs.
Note from me: Use Java.