Hello,

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

-------
I found this:
Code:
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:

Code:
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