srikanth-lingala / zip4j

A Java library for zip files and streams
Apache License 2.0
2.04k stars 309 forks source link

difference between AES and standardencryption #387

Closed 3harish closed 2 years ago

3harish commented 2 years ago

what is the difference between AES and Zip standard encryption??

srikanth-lingala commented 2 years ago

Zip Standard is a legacy encryption, which although is strong, but can be vulnerable to attacks. AES is a much more sophisticated encryption added to the zip file format specification by WinZip, and is now adopted and supported by most of the zip tools. If you have a choice to choose between then, I would recommend AES over Zip Standard without any doubt. There are plenty of resources online to dig deeper if you wish to.

3harish commented 2 years ago

Zip Standard is a legacy encryption, which although is strong, but can be vulnerable to attacks. AES is a much more sophisticated encryption added to the zip file format specification by WinZip, and is now adopted and supported by most of the zip tools. If you have a choice to choose between then, I would recommend AES over Zip Standard without any doubt. There are plenty of resources online to dig deeper if you wish to.

thank you sir