I want to create a VERY basic obfuscation method, basically I just wanna xor every string so calling
printf("%s\n", OBF("Test"));
Will generate something like
printf("%s\n", unxor("\x65\x54\x42\x45"));
I xored the string with 1 in this case
Using modern C++ you can write it without any macros like this:
Run this code in online compiler