Obfuscate (or de‐obfuscate) a byte range in place by XORing it with the key.

Synopsis

Declared in <util/obfuscation.h>

void
operator()(
    std::span<std::byte> target,
    size_t key_offset = 0) const;

Parameters

Name

Description

target

The bytes to transform in place.

key_offset

Byte offset into the stream, so a range can continue an earlier transformation.

Created with MrDocs