Compile-time string encryption

前端 未结 8 2309
悲哀的现实
悲哀的现实 2020-12-28 17:08

I don\'t want reverse-engineers to read the plain-text of hardcoded strings in my application. The trivial solution for this is using a simple XOR-Encryption. The problem is

8条回答
  •  死守一世寂寞
    2020-12-28 17:56

    This blog provides a solution for compile time string hashing in C++. I guess the principle is the same. Unfortunately You have to create one Makro for each string length.

提交回复
热议问题