MegatronKing / StringFog

一款自动对字节码中的字符串进行加密Android插件工具
Apache License 2.0
1.67k stars 334 forks source link

[Suggestion] Doing the same with NDK #85

Closed redmi111 closed 1 year ago

redmi111 commented 1 year ago

Is it somehow possible to do the same method but with NDK so it'll be faster during the runtime. I'm not sure if it is possible tho.

MegatronKing commented 1 year ago

Of course you can, trying to call native method here: https://github.com/MegatronKing/StringFog-Sample2/blob/004d4b60f1d47378c8101867c6b78e5375efe916/buildSrc/src/main/java/com/github/megatronking/stringfog/sample2/CustomStringFogImpl.java#L25