Crypto Testing
    Preparing search index...

    Function mutateBytes

    • Mutates a byte buffer by flipping bits in a byte. Useful for fuzzing and tamper-resistance testing.

      Parameters

      • bytes: Uint8Array

        Uint8Array to mutate.

      • OptionalbyteIndex: number

        Optional byte index to mutate.

      Returns Uint8Array

      Mutated Uint8Array.