ts-playground
    Preparing search index...
    • Applies a XOR shift operation on the input data. Each byte in the output is the XOR of the current byte, the previous byte, and the next byte. This operation may be involutive, when the input size is a power of two (n = 2^m). (n-involutive)

      Parameters

      • data: Uint8Array

        The input data as a Uint8Array.

      Returns Uint8Array

      Uint8Array - The output data after applying the XOR shift operation.