Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

C++ XOR str. to HEX str.


ghost's Avatar
0 0

Hello, i´m trying to make the strings in my app written in c++ unreadable. I have good idea to new rooting challenge, but if anyone can read the string by simple pressing F4 in total commander ultima prime, its no use. i have app, that ask me for string, and when i´ll write him, this app convert it to XOR. but xor is unreadable shit, i need to convert it to hex, and then store in my rooting app, and when i need it, convert it back to readable string. how can i do this? thanks in advance


ghost's Avatar
0 0

Even if you XOR the strings, can't someone just find the key that you XOR'd the strings with in the app and decrypt them?


ghost's Avatar
0 0

mastergamer wrote: Even if you XOR the strings, can't someone just find the key that you XOR'd the strings with in the app and decrypt them?

Even if your C++ program is compiled to x86 assembler opcodes, can't somebody just lookat it & work out what it's doing?

At the end of the day, if people want to take that approach there's nothing stopping them.

I suggest you don't worry about it now, and see if it's likely to become an issue before you release it.


ghost's Avatar
0 0

i think… that yes, he can find d key :( so what is your suggestion? you know that releasing rooting challenge unencrypted, that anybody can see the strings in olly, or just in notepad++… that sucks… so, what can i do? :|