0

is it possible to encrypt strings with preprocessor? for examle:

*data section*
--------------
"test string1"
"test string2"
"test stringN"
...

after compiling program, they will become random encrypted strings. like:

*data section*
-------------
"ioasfj)@*(Ug"
"JS8a9fjsa()S"
"zl)I@dXaskdQ"
...

is it possible without any addons?

user2399415
  • 207
  • 2
  • 3
  • 8
  • Do you actually mean encrypted or simply randomised? – dunc123 Aug 07 '13 at 13:51
  • Encrypted, for example simple XOR encryption, on runtime, it will decrypt data from TLS callback or from entry point, doesn't matter. I'm just trying to understand how could I encrypt strings from preprocessor instead of runtime. – user2399415 Aug 07 '13 at 13:58
  • 2
    Possibly a duplicate of: http://stackoverflow.com/questions/1381818/is-the-c-preprocessor-able-to-process-strings-char-by-char – dunc123 Aug 07 '13 at 14:00
  • Definitely, thanks for info ;-) – user2399415 Aug 07 '13 at 14:32

0 Answers0