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

iv is invalid #115

Open
clarehjh opened this issue Jun 7, 2024 · 3 comments
Open

iv is invalid #115

clarehjh opened this issue Jun 7, 2024 · 3 comments

Comments

@clarehjh
Copy link

clarehjh commented Jun 7, 2024

sm4 加解密cbc模式https切换成http会不会有影响,https加解密请求是没有问题的,浏览器去掉s,调用会报解密异常,控制台抛出错误
image

@JoeXin
Copy link

JoeXin commented Jun 11, 2024

Uncaught (in promise) Error: iv is invalid 如何后端不设置IV,也是提示这个错误

@clarehjh
Copy link
Author

这个报错是加密库里面的报错,后端报解密失败

@JuneAndGreen
Copy link
Owner

iv 要求长度为 128 比特

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

3 participants