title: How to decrypt data in binary file by XOR operator using a given key at specific offset?
body: <p>I've a binary data files which are encrypted by a simple <a href="https://en.wikipedia.org/wiki/XOR_cipher" rel="nofollow">XOR cipher</a> using a given key at offset <code>+0x88</code> (which is <code>0x80</code> long), then the data (<code>+0x108</code>) is compressed by <code>lzo1x</code>.</p>
  
  <p>What would be the most efficient way of decrypting such files?</p>
  
  <p>Preferably by using some command-line utilities (where I can specify the input offsets) or some script (without too much coding)?</p>