Obfuscation::operator()

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

NameDescription
targetThe bytes to transform in place.
key_offsetByte offset into the stream, so a range can continue an earlier transformation.