1. Products
  2.   Compression
  3.   Minizip
 
  

Create & Modify Password Protected ZIP Archives via C Library

Open Source Free C Library to Generate, Modify, Remove, or Extract ZIP Archives, Add/Remove Files inside your own apps. 

Minizip is an open source C library that facilitates software programmers to work with zip archives inside their own C applications. The Minizip library is very stable and is one of the better and easier to use. It always used Deflate compression when adding files to the archive. Minizip is a pure C library that can be used on Windows, macOS, and Linux with ease. The library also supports PKWARE and WinZIP AES encryption and decryption.

The Minizip API provides complete support for numerous advanced compression and extraction-related features for ZIP archives, such as creating and extracting zip archives, adding or removing entries from zip archives, reading and writing zip archives from memory, password protection, buffered streaming support, splitting zip archives into multiple files, Unicode via through UTF-8 encoding, character encoding support, Follow and store symbolic links and many more.

Previous Next

Getting Started with Minizip

CMake is highly recommended to build the Minizip library. You can get it from the cmake website easily.

A typical installation code is given below

Build Minizip Library from CMake

cmake . -DMZ_BUILD_TEST=ON
cmake --build 

Create New ZIP Archive via C Library

The Free Minizip library provides functionality for generating a new ZIP archive inside C applications. The compression library also supports editing an existing ZIP archive by inserting or deleting files inside it. You can easily display the list of all available files inside the ZIP archive. You can also open, modify, close, or delete a directory or file in the ZIP archive with just a couple of simple C commands.

Password Protected Archives Handling

The open source Minizip library provides the capability to handle password-protected ZIP archives with ease.  It provides set of features that allows software developers to protect their archives by setting a password, allowing reading all or some entries in the archive, alter the password for the archive, remove archive password, Set encryption & decryption methods and much more.

Add or Remove Files from ZIP archive

The open source Minizip library provides the capability to handle password-protected ZIP archives with ease. It provides a set of features that allows software developers to protect their archives by setting a password, allowing reading all or some entries in the archive, altering the password for the archive, removing the archive password, Setting encryption & decryption methods, and much more.

Extract Files from ZIP Archives to Disk

The open source Minizip library enables computer programmers to read and extract the contents of an archive with ease. You can easily extract files and folders into a place of your choice on the disk. It also gives you the ability to extract complete data of an archive as well as extract some particular files. The library also provides the ability to generate and verify CMS signatures for each entry.

 English