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

加密数据量变大后,解密偶发异常 #31

Open
kali-allen opened this issue Jul 30, 2019 · 5 comments
Open

加密数据量变大后,解密偶发异常 #31

kali-allen opened this issue Jul 30, 2019 · 5 comments

Comments

@kali-allen
Copy link

加密字符个数>11072,偶发解密异常或解密的字符中出现码,.I��.P��K;bK����<�
�i�29[�]иv�T s�sǎĨ�|���G�
��'�0'��u�=/(�4������p�$���o.k��ˣ��o�$;�8n2����|ɲ�<��B�)�d��|�1C��7��߲���Sꋆ�V
��"
����x����� ��IO��6�B�j?�u,�?�^Gp��wiDh|lpm,�G�1�
�51)]

@BruceWind
Copy link
Owner

有并发执行吗?

@BruceWind
Copy link
Owner

BruceWind commented Jul 30, 2019

这个算法是精简版的AES,最近在考虑更换AES算法,我这个库的重点似乎不是AES算法,而是其他安全性措施,结果都来报AES算法的问题。

@kali-allen
Copy link
Author

有并发执行吗?

没有并发执行

@BruceWind
Copy link
Owner

BruceWind commented Sep 19, 2019

你可以尝试把aes算法替换为这个:https://github.com/BruceWind/CryptoPPInNDK, 我只写了底层代码,jni没有对接,你可以试着把底层算法改为这个。

@BruceWind
Copy link
Owner

I have pushed code that use chacah20 instead of AES.
#40

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