Chapter 8: Problem 65
Write a program that encrypts its input by XORing it with a keystream. Find or write as good a random number generator as you can to generate the keystream. The program should act as a filter, taking plaintext on standard input and producing ciphertext on standard output (and vice versa). The program should take one parameter, the key that seeds the random number generator.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.