• Perform XOR operation on two buffers and return the new buffer

    Parameters

    • data: Uint8Array<ArrayBufferLike>

      Buffer to XOR

    • key: Uint8Array<ArrayBufferLike>

      Key to XOR with

    Returns Uint8Array