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

32位 key如何解密? #7

Open
Jackfinal opened this issue Nov 29, 2022 · 4 comments
Open

32位 key如何解密? #7

Jackfinal opened this issue Nov 29, 2022 · 4 comments

Comments

@Jackfinal
Copy link

我尝试private $len = 32;
发现解密失败。。。
不知道是不是需要再更改什么?

@lizhichao
Copy link
Owner

sm是16位的。 你是不是弄错了,或者是16进制的32位 自己转成16位就好了

@Jackfinal
Copy link
Author

对方给我一个32位的16进制的key,怎么转成16位?用那个函数?求指导。。

@lizhichao
Copy link
Owner

hex2bin

@McdullD
Copy link

McdullD commented Sep 11, 2023

我也遇到这个 对方给的key 和 iv都是32位的 hex2bin 如何使用啊

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