We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use java sample provided in this repo, there are padding bytes in decrypted data.
Attachment is the screenshot that data i got.
btw. crypto-js seems to used Pkcs7 as default. https://cryptojs.gitbook.io/docs/#block-modes-and-padding
The text was updated successfully, but these errors were encountered:
是的,我遇到了一样的问题,尝试用zero pad的方式去unpadd,结果结尾给我了8个8或者4个4.
Sorry, something went wrong.
@s911415 @naokij
Java 使用 Cipher.getInstance("AES/CBC/PKCS5Padding"); 就可以解決了
Java 的 PKCS5Padding 有實作 PKCS7 的規格
No branches or pull requests
I use java sample provided in this repo, there are padding bytes in decrypted data.
Attachment is the screenshot that data i got.
btw. crypto-js seems to used Pkcs7 as default.
https://cryptojs.gitbook.io/docs/#block-modes-and-padding
The text was updated successfully, but these errors were encountered: