#Data Processor

1 messages ยท Page 1 of 1 (latest)

unkempt cedar
#

Hi everyone,

Iโ€™m trying to figure out how to use Data Processors โ€” specifically, with a specific range selected, to run that through a XOR operation (with a given 1 byte key), and have that output returned. Iโ€™ve tried a few things, like using Data access > Selected Region, but none of these are working as I might expect them to. Grateful for any pointers!

coral forge
#

Selected region gives you the start address and size of your selection in the hex editor. You'll need to use the Read node from the data access category to read in your bytes, then XOR them all with the key and at the end use the Write node to "write" them back

#

Writing won't actually modify your file, it's purely visual

unkempt cedar
#

Thank you โ€” how can I set a single byte key as 2e for instance? If I use โ€œStringโ€, 2e is read as 32 65, rather than single byte 2e.

#

Also, is it possible to display the output somewhere without it overwriting the binary? Screenshot attached.

#

Also, under Write address, what must be set here for the output to calc for more than one byte?

#

Getting there slowly!

#

Okay this is amazing

coral forge
coral forge
#

Ah wait there's a hex node now that displays the data as similar to the hex editor

#

Might be in the highly only

unkempt cedar
#

Is there a way of keying the XOR key in hex, rather than as a string at all?