title: How to encrypt zip file using zip4j
body: <p>I want to create password protected ZIP:</p>
  
  <pre><code>    // Set the compression level
      parameters.setCompressionLevel(Zip4jConstants.DEFLATE_LEVEL_NORMAL);
  
      // Set the encryption flag to true
      // If this is set to false, then the rest of encryption properties are ignored
      parameters.setEncryptFiles(true);
  
      // Set the encryption method to Standard Zip Encryption
      parameters.setEncryptionMethod(Zip4jConstants.ENC_METHOD_STANDARD);
  
      // Set password
      parameters.setPassword(password);
  </code></pre>
  
  <p>but this just encrypt files inside of zip but I can open this zip and watch file inside it</p>