Search code examples
javazipphp-ziparchiveapache-commons-compress

How to create a encrypted Zip file with Apache Commons Compress?


I use Apache Common Compress in my file manager app in android, but i can not find any example or document about creating encrypted file. Can some one help me please!


Solution

  • From the "known limitations" page (https://commons.apache.org/proper/commons-compress/limitations.html):

    ZIP:

    • no support for encryption or multi-volume archives