code: function xorBuffers(a, b) {
  
          var res = []
            , index = 0;
  
          if (a &&
            b &&
            utils.isAnArray(a) &&
            utils.isAnArray(b) &&
            a.length !== b.length) {
  
            throw 'Buffer length must be equal';
          }
          a = new Uint8Array(a);
          b = new Uint8Array(b);
  
          for (index = 0; index < a.length; index += 1) {
  
            res[index] = (a[index] ^ b[index]) & 0xFF;
          }
  
          return new Uint8Array(res);
        }
docs: /* eslint-enable no-shadow /* eslint-disable no-bitwise