#3053 closed Bug (Rejected)
Different file size after Encrypt-Decrypt file
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | Standard UDFs | |
| Version: | 3.3.12.0 | Severity: | None |
| Keywords: | Encrypt, decrypt, huge file intergrity, AES, 3DES | Cc: |
Description
Hello!
At the moment I'm having a problem with integrity of decrypted file.
First time I mean that it is my script fault and I'm try standart _Crypt_EncryptFile.au3 and _Crypt_decryptFile.au3 scripts for investigate a problem. Result are the same - different files size (and MD5/SHA1 checksum) after encrypting-decrypting. Try to use AES 128-256 and 3DES.
Original file is huge - 55.4 GB (59 579 039 744 bytes) binary file.
After encryption size is 55.4 GB (59 579 039 760 bytes)
After decryption 55.4 GB (59 579 039 748 bytes).
As you see decrypted file size is on 4 bytes larger then original, of course after that file is corrupted.
8-9 GB file successfully encrypted and decrypted.
OS: Windows 7 Pro SP1 x64
Attachments (0)
Change History (2)
comment:1 by , 11 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
comment:2 by , 11 years ago
Additional note: https://www.autoitscript.com/forum/topic/173380-different-file-size-after-encrypt-decrypt-file/?do=findComment&comment=1254439 comes with a test script which works as expected. So "works for me".

This is not a bug report and really should be posted in the support forum.
Jos