Comments (3)
Hi, bro. I'm late for reply.
Very appreciate your issue.
I don't recommend writing the key into code despite native code.
I have said something about this issue in READE.
One way I wrote in READ is spliting the key.
You can modify getKey()
function.
In that function, you can merge several slices which you split.
Due to the fact that code or function are safety, the key will be safe though.
from aesjniencrypt.
In Chinese README, I wrote:
手工处理隐藏key,最复杂的方案:将密钥分成不同的几段,存储在不同的代码中,最后将他们拼接起来,可以将整个操作写的很复杂,增加逆向难度。(目前代码里用的是稍微简单的方案).
Thanks for this issue.
from aesjniencrypt.
I'm going to close this issue in case there is no more questions. And I think I have reply it enough and clearly.
from aesjniencrypt.
Related Issues (20)
- 阅读源码的时候发现了几个问题,提几个修改建议。 HOT 8
- 压测中文加密解密 HOT 29
- ndk-build出错 HOT 7
- AES解密,某些字符串尾部出现乱码 HOT 8
- 加密数据量变大后,解密偶发异常 HOT 5
- check_is_emulator如何判断是机顶盒呢 HOT 4
- Could you please support AES256/CBC/PKCS7Padding? HOT 18
- AES_128_ECB_PKCS5Padding_Decrypt bug修复 HOT 4
- 如果在JNIEncrypt.c中将加密key返回出来直接使用安全吗? HOT 3
- 获取到的key后边拼接一个�乱码 HOT 20
- Android 10 调用会Crash. HOT 7
- 请问怎么把密码1234567890abcdef处理成NMTIzNDU2Nzg5MGFiY2RlZg 求教 HOT 3
- 是否支持 flutter ? HOT 5
- 为什么要屏蔽模拟器呢? HOT 3
- check_signature.c 中包名检查是否为 test 的判断有误 HOT 3
- Can you tell me which NDK version I should use? Thanks. HOT 4
- Can build_libsodium_for_all_android_abi.sh support windows? HOT 3
- 能否请教一些编译项目时候遇到的问题? HOT 22
- build_libsodium_for_all_android_abi.sh 执行报错,env: python: No such file or directory。中间的日志很多过时,有没有影响 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aesjniencrypt.