7z archiver supports AES-256 encryption algorithm with SHA-256 hash algorithm based key generation. To uncompress a zip file that is encrypted with zip command: $ unzip secure.zipħz file archiver can produce zip-format archives with more secure encryption scheme. To create an encrypted zip file with zip: $ zip -password MY_SECRET secure.zip doc.pdf doc2.pdf doc3.pdf Also, the fact that the password is typed and shown in plain text makes it even more vulnerable. The PKZIP algorithm is known to be insecure.
The encryption algorithm used by zip command is PKZIP stream cipher. The zip command line tool provides an encryption option. In this tutorial, I will describe how to create an encrypted zip file on Linux. On Linux, there are several ways to encrypt and password protect a zip file. Suppose you want to create a zip archive, but with password protection, so that whoever tries to uncompress the zip file must know the right password. How to create an encrypted zip file on Linux