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

SM2加密最大的字节长度为255,如果我要加密大于255的该怎么办!! #1760

Open
HuaHuahou opened this issue Oct 18, 2024 · 2 comments

Comments

@HuaHuahou
Copy link

No description provided.

@deatil
Copy link

deatil commented Oct 24, 2024

用ecb分块后再用sm2加密,解密同理

@rikimeow
Copy link

非对称算法通常不用来直接加密较大数据 效率不高,可以试试SM2+SM4数字信封的方式加密较大数据。

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