C++: How to encrypt strings at compile time?

前端 未结 10 1257
北荒
北荒 2020-12-18 21:40

I want to hide some strings in my .exe so people can\'t simply just open the .exe and look at all the strings there. I don\'t care about the strength of the encrypting metho

10条回答
  •  無奈伤痛
    2020-12-18 22:36

    Any crypto that is done at compile time must also be undoable in the raw EXE (unless you're doing something Really Strange). And your app is running on their hardware. Doomed... barring DRM, which is (in my mind) Evil.

提交回复
热议问题