feature: xor encoding of payload with changeable key

This commit is contained in:
Dobin
2024-02-20 18:19:00 +00:00
parent 795227f60e
commit 23ca683360
5 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
for (int n=0; n<{{PAYLOAD_LEN}}; n++){
dest[n] = supermega_payload[n];
dest[n] = dest[n] ^ 0x42;
dest[n] = dest[n] ^ {{XOR_KEY}};
}