title: XOR encrypt file on mac
body: <p>I have an xml file that I was looking to do simple encryption on which I then download in an IOS app and decrypt.</p>
  
  <p>I was looking at possibly using XOR encryption. I have managed to sort out the decryption in objective-C but was wondering if anybody knows a simple way to take an xml and encrypt using XOR (and a key) on a MAC.</p>