How to Create in-memory password protected Zip file in java with multiple Entries

How to Create in-memory password protected Zip file in java with multiple Entries

In this tutorial, we use zip4J library for creating a zip file and put a password on our file:

<dependency>
    <groupId>net.lingala.zip4j</groupId>
    <artifactId>zip4j</artifactId>
    <version>1.3.2</version>
</dependency>

This is the code that do the job for you:

Continue reading How to Create in-memory password protected Zip file in java with multiple Entries