Regarding performance issue when using Aes256 Encryption

0
We are using 'ComponentPro Ultimate Pro Zip component' in our application to open/create zip files. To validate password on each file we are using TestPassword() method, where each item from zip file will be validated in a loop. Recently we applied Aes256 encryption while file creation. We observed that when we open zip file using 'ComponentPro Ultimate Pro Zip component' the performance of the validation process using TestPassword() have been degraded drastically. Please refer below matrix for comparison. Can you please help in this issue to improve the performance while using Aes256 encryption. Zip file with 4000 entries Each file: 8KB un-compressed / 2KB compressed (Text files) Following matrix shows the different combinations of password and encryptions we used to create the Zip file. Time is taken to open the each file with the respective combination. No Password - No Encryption - 00:00:00.5513006 minutes Password - Default Encryption - 00:00:00.2664134 minutes Password - Encryption Aes128 - 00:02:30.8984341 minutes Password - Encryption Aes256 - 00:04:18.4341032 minutes
 
asked 7/19/2022 8:32:28 PM
add a comment

1 Answers

0
Hi, Belinda van, You can try multi-core processors by splitting the original file into parts, zipping each part independently and then unzipping them in your application using multithreading. The time to recombine the files in memory will be tiny compared to the unzip time. Thanks
 
answered 7/26/2022 6:00:36 AM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged encryptor zip or ask your own question.