How to obscure only 1 String or the whole activity

ckeeper

Well-known member
Nov 8, 2019
623
376
63
There is a (very light) header-only project obfuscate made by adamyaxley that works perfectly. It is based on lambda functions and macros and it encrypts strings litteral with a XOR cipher at compile-time. If needed, we can change the seed for each string.

The following code will not store the string "hello world" in the compiled binary.

#include "obfuscate.h"

int main()
{
std::cout << AY_OBFUSCATE("Hello World") << std::endl;
return 0;
}
 

Shivendra

Member
Jan 26, 2021
137
4
18
There is a (very light) header-only project obfuscate made by adamyaxley that works perfectly. It is based on lambda functions and macros and it encrypts strings litteral with a XOR cipher at compile-time. If needed, we can change the seed for each string.

The following code will not store the string "hello world" in the compiled binary.

#include "obfuscate.h"

int main()
{
std::cout << AY_OBFUSCATE("Hello World") << std::endl;
return 0;
}
im asking for android-studio java !
 

Forum statistics

Threads
70,069
Messages
915,368
Members
245,283
Latest member
doniared

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu