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

pkcs7 pad 实现需要传入 block_size 参数 #35

Open
nooberfsh opened this issue Apr 19, 2020 · 2 comments
Open

pkcs7 pad 实现需要传入 block_size 参数 #35

nooberfsh opened this issue Apr 19, 2020 · 2 comments

Comments

@nooberfsh
Copy link

func Pad(x []byte) []byte {

@xen0n
Copy link
Owner

xen0n commented Apr 19, 2020

Why? 考虑 block_size != 32 的通用情况么?

@nooberfsh
Copy link
Author

aes 的 block 是16

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