title: How to perform a byte-wise XOR of a string with a hex value in C++?
body: <p>Let's say I have the string
  <code>string str = "this is a string";</code></p>
  
  <p>and a hexadecimal value
  <code>int value = 0xbb;</code></p>
  
  <p>How would I go about performing a byte-wise XOR of the string with the hex value in C++?</p>