PDA

View Full Version : How to zip file with password and encryption?



Fli
11-19-2013, 09:38 PM
Hello,

how one can compress file or folder into .zip, password protect and make it encrypted at least AES 256bit?

-------
I found this:


zip -P yourpassword -e archive.zip filetozip

// EDIT: -P password protection -e add encryption ; -r compress recursivelly into subdirectories

Example of directory ZIPping with encryption?(im unsure), password protection, recursivelly:


zip -P yourpassword -r -e archive.zip foldertozip

Then on windows i can see the files in ZIP archive, but i cant open/view/extract them without password. The ZIP password protection is said to be very weak.

Unzipping

unzip -P -e zipfilename

set the output directory: -d directorypath