Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aes_key16位的问题 #4

Open
vince090416 opened this issue Dec 12, 2016 · 1 comment
Open

aes_key16位的问题 #4

vince090416 opened this issue Dec 12, 2016 · 1 comment

Comments

@vince090416
Copy link

1:jni aes_key 换成16位后,每次加密都不一样的呢。
2:跟我android里面用java加密不一样
谢谢~

@zhuyz89
Copy link

zhuyz89 commented Sep 1, 2017

你把C里面的也改成16位,AES_KEY_SIZE改成128,android里面你用的16位的秘钥,应该是默认到了128位的,不是256位的,你改一下就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants