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 加密 Pcks5 与 Pcks7 填充策略的问题 #74

Open
zouopen opened this issue Apr 27, 2021 · 1 comment
Open

AES 加密 Pcks5 与 Pcks7 填充策略的问题 #74

zouopen opened this issue Apr 27, 2021 · 1 comment

Comments

@zouopen
Copy link

zouopen commented Apr 27, 2021

我观察到AesEncryptUtils这个类用的填充策略是Pcks5来解密的。前端用的是Pcks7来解密的。我用AesEncryptUtils类来解密加密的字符串没有问题,但是用前端Pcks7的填充策略去解密,解密不成功。请问是两者填充策略的问题吗?

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