I'm kinda new to Python, and I have a task to decrypt a socket stream that has been XOR'd. I wondered if someone could provide a clear example or walk me through the process in outline form if not code. I can connect to the stream just fine and print each byte, but I can't get the decrypt. I do have the proper key -- just don't know how to use it. The online examples I've looked at are roughly a page of script and include a lot of unrelated XOR stuff, so I've had a hard time picking up on the process / core concept.