Write a program that encrypts its input by XORing it with a key stream. Find or write

Question:

Write a program that encrypts its input by XORing it with a key stream. Find or write as good a random number generator as you can to generate the key stream. The program should act as a filter, taking plain text on standard input and producing cipher text on standard output (and vice versa). The program should take one parameter, the key that seeds the random number generator.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Networks

ISBN: 978-0132126953

5th edition

Authors: Andrew S. Tanenbaum, David J. Wetherall

Question Posted: