Hi all, i would like to know how to Zip a directory using Java, i've found that i could use the java.util.zip package but i need to zip the directory and put a password to the file created.... this is the only way i've found until now so i am open to new ideas... so the main idea is to compress a directory in such a way that only my application knows how to extract the compressed file.... Thanks to all
Be aware that this encryption just encrypts the file independently of the fact that it a zip file. Even if you change to use one of the AES PBE algorithms it will not be equivalent to the zip encryption defined in http://www.winzip.com/aes_info.htm so you will not be able to decrypt it using one of the later WinZip (Version 11 ?) versions.
Retired horse trader.
Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
yeah, but ... what would PIE do? Especially concerning this tiny ad: