I'm working on a project in which I'm sending and receiving hexadecimal message strings from a bluetooth gateway via MQTT.
My problem is; I need to XOR each hexidecimal string to make sure it's correct when pushing messages.
For example, if my message is "03000E010004" I need to XOR it like '03'/'00', '00'/'0E', etc.
Does anyone know how I would do this with hexidecimal messages? I know it's possible with binary but I haven't been able to find a reliable way to convert these messages to binary and XOR them without it getting extremely messy.