You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When use Zero Padding encrypt and decrypt, some types of files (such as .7z file) which ends with bytes '00' will damaged file.
I have encountered and reproduced this problem, and I use PKCS7 instead of Zero Padding and it worked.
I modified:
If you update the code as I did, please be sure to indicate in README.MD that you have modified the code, otherwise users may not be able to use the updated code to decrypt the content encrypted by the old code
The text was updated successfully, but these errors were encountered:
When use Zero Padding encrypt and decrypt, some types of files (such as .7z file) which ends with bytes '00' will damaged file.
I have encountered and reproduced this problem, and I use PKCS7 instead of Zero Padding and it worked.
I modified:
If you update the code as I did, please be sure to indicate in
README.MD
that you have modified the code, otherwise users may not be able to use the updated code to decrypt the content encrypted by the old codeThe text was updated successfully, but these errors were encountered: