title: How to XOR a hex string with a literal string in Python?
body: <p>My ultimate goal is to encrypt/decrypt a string with a hex string using a linear congruence generator. </p>
  
  <p>I have a list of 'keys' that I want to XOR with a string. For example, the list of keys are <code>['0x92', '0xe3', 0x18'...]</code> and the string I want to XOR with the keys is <code>'apple'</code>. The length of the keys list is the same length of the string. </p>
  
  <p>I want to be able to produce a result such as <code>"\xF3\x93\x68..."</code>. </p>
  
  <p>I'm not sure how to begin this approach. Should I turn every character in the string to binary and also turn each hex string in binary and XOR them together?</p>
  
  <p>The result that I am looking for (xF3..), is that unicode? </p>