All Projects → zlib-ng → Minizip Ng

zlib-ng / Minizip Ng

Licence: other
Fork of the popular zip manipulation library found in the zlib distribution.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Minizip Ng

Zippy
Pure Nim implementation of deflate, zlib, gzip and zip.
Stars: ✭ 88 (-88.27%)
Mutual labels:  zip, zlib, compression
lzbase62
LZ77(LZSS) based compression algorithm in base62 for JavaScript.
Stars: ✭ 38 (-94.93%)
Mutual labels:  compression, zip, zlib
Datacompression
Swift libcompression wrapper as an extension for the Data type (GZIP, ZLIB, LZFSE, LZMA, LZ4, deflate, RFC-1950, RFC-1951, RFC-1952)
Stars: ✭ 191 (-74.53%)
Mutual labels:  zip, zlib, compression
Peazip
Free Zip / Unzip software and Rar file extractor. Cross-platform file and archive manager. Features volume spanning, compression, authenticated encryption. Supports 7Z, 7-Zip sfx, ACE, ARJ, Brotli, BZ2, CAB, CHM, CPIO, DEB, GZ, ISO, JAR, LHA/LZH, NSIS, OOo, PAQ/LPAQ, PEA, QUAD, RAR, RPM, split, TAR, Z, ZIP, ZIPX, Zstandard.
Stars: ✭ 827 (+10.27%)
Mutual labels:  zip, encryption, compression
Libzip
A C library for reading, creating, and modifying zip archives.
Stars: ✭ 379 (-49.47%)
Mutual labels:  zip, encryption, compression
Turbobench
Compression Benchmark
Stars: ✭ 211 (-71.87%)
Mutual labels:  zip, zlib, compression
ZipArchive
A single-class pure VB6 library for zip with ASM speed
Stars: ✭ 38 (-94.93%)
Mutual labels:  compression, zip, zlib
rc-zip
Pure rust zip & zip64 reading and writing
Stars: ✭ 93 (-87.6%)
Mutual labels:  compression, zip
DAR
DAR - Disk ARchive
Stars: ✭ 58 (-92.27%)
Mutual labels:  compression, encryption
pakkero
Pakkero is a binary packer written in Go made for fun and educational purpose. Its main goal is to take in input a program file (elf binary, script, even appimage) and compress it, protect it from tampering and intrusion.
Stars: ✭ 143 (-80.93%)
Mutual labels:  compression, encryption
decompress
Pure OCaml implementation of Zlib.
Stars: ✭ 103 (-86.27%)
Mutual labels:  compression, zlib
Rocketjob
Ruby's missing background and batch processing system
Stars: ✭ 258 (-65.6%)
Mutual labels:  encryption, compression
Gulp Zip
ZIP compress files
Stars: ✭ 262 (-65.07%)
Mutual labels:  zip, compression
ratarmount
Random Access Read-Only Tar Mount
Stars: ✭ 217 (-71.07%)
Mutual labels:  compression, zip
zip-bucket
zips files in a Google Cloud Storage [tm] bucket
Stars: ✭ 32 (-95.73%)
Mutual labels:  compression, zip
zopflipy
A Python bindings for Zopfli
Stars: ✭ 17 (-97.73%)
Mutual labels:  compression, zlib
deflate-rs
An implementation of a DEFLATE encoder in rust
Stars: ✭ 47 (-93.73%)
Mutual labels:  compression, zlib
box
Box - Open Standard Archive Format, a zip killer.
Stars: ✭ 38 (-94.93%)
Mutual labels:  compression, zip
Lizard
Lizard (formerly LZ5) is an efficient compressor with very fast decompression. It achieves compression ratio that is comparable to zip/zlib and zstd/brotli (at low and medium compression levels) at decompression speed of 1000 MB/s and faster.
Stars: ✭ 408 (-45.6%)
Mutual labels:  zlib, compression
Lzbench
lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors
Stars: ✭ 490 (-34.67%)
Mutual labels:  zlib, compression

minizip-ng 3.0.1

minizip-ng is a zip manipulation library written in C that is supported on Windows, macOS, and Linux.

Master Branch Status Fuzzing Status Codacy Badge License: Zlib codecov.io

Developed and maintained by Nathan Moinvaziri.

Branches

Name Description
master Most recent release.
dev Latest development code.
1.2 Old changes to original minizip that includes WinZip AES encryption, disk splitting, I/O buffering and some additional fixes. Not ABI compatible with original minizip.
1.1 Original minizip as of zlib 1.2.11.

History

Minizip was originally developed by Gilles Vollant in 1998. It was first included in the zlib distribution as an additional code contribution starting in zlib 1.1.2. Since that time, it has been continually improved upon and contributed to by many people. The original project can still be found in the zlib distribution that is maintained by Mark Adler.

The motivation behind this repository has been the need for new features and bug fixes to the original library which had not been maintained for a long period of time. The code has been largely refactored and rewritten in order to help improve maintainability and readability. A compatibility layer has been provided for consumers of the original minizip library.

Features

  • Creating and extracting zip archives.
  • Adding and removing entries from zip archives.
  • Read and write raw zip entry data.
  • Reading and writing zip archives from memory.
  • Zlib, BZIP2, LZMA, XZ, and ZSTD compression methods.
  • Password protection through Traditional PKWARE and WinZIP AES encryption.
  • Buffered streaming for improved I/O performance.
  • NTFS timestamp support for UTC last modified, last accessed, and creation dates.
  • Disk split support for splitting zip archives into multiple files.
  • Preservation of file attributes across file systems.
  • Follow and store symbolic links.
  • Unicode filename support through UTF-8 encoding.
  • Legacy character encoding support CP437, CP932, CP936, CP950.
  • Turn off compilation of compression, decompression, or encryption.
  • Windows (Win32 & WinRT), macOS and Linux platform support.
  • Streaming interface for easy implementation of additional platforms.
  • Support for Apple's compression library ZLIB and XZ implementations.
  • Zero out local file header information.
  • Zip/unzip of central directory to reduce size.
  • Ability to generate and verify CMS signature for each entry.
  • Recover the central directory if it is corrupt or missing.
  • Example minizip command line tool.

Build

To generate project files for your platform:

  1. Download and install cmake (version 3.11 or later recommended).
  2. Run cmake in the minizip directory.
cmake . -DMZ_BUILD_TEST=ON
cmake --build .

Build Options

Name Description Default Value
MZ_COMPAT Enables compatibility layer ON
MZ_ZLIB Enables ZLIB compression ON
MZ_BZIP2 Enables BZIP2 compression ON
MZ_LZMA Enables LZMA & XZ compression ON
MZ_ZSTD Enables ZSTD compression ON
MZ_LIBCOMP Enables Apple compression APPLE
MZ_FETCH_LIBS Enables fetching third-party libraries if not found WIN32
MZ_FORCE_FETCH_LIBS Enables fetching third-party libraries always OFF
MZ_PKCRYPT Enables PKWARE traditional encryption ON
MZ_WZAES Enables WinZIP AES encryption ON
MZ_OPENSSL Enables OpenSSL encryption UNIX
MZ_LIBBSD Builds with libbsd crypto random UNIX
MZ_SIGNING Enables zip signing support ON
MZ_ICONV Enables iconv encoding conversion ON
MZ_COMPRESS_ONLY Only support compression OFF
MZ_DECOMPRESS_ONLY Only support decompression OFF
MZ_FILE32_API Builds using posix 32-bit file api OFF
MZ_BUILD_TESTS Builds minizip test executable OFF
MZ_BUILD_UNIT_TESTS Builds minizip unit test project OFF
MZ_BUILD_FUZZ_TESTS Builds minizip fuzz executables OFF
MZ_CODE_COVERAGE Build with code coverage flags OFF
MZ_PROJECT_SUFFIX Project name suffix for packaging

Third-Party Libraries

Third-party libraries may be required based on the CMake options selected. If the system already has the library installed then it will be used, otherwise CMake will retrieve the source code for the library from its official git repository and compile it in when the MZ_FETCH_LIBS option is enabled.

Project License CMake Option Comments
bzip2 license MZ_BZIP2 Written by Julian Seward.
liblzma Public domain MZ_LZMA Written by Igor Pavlov and Lasse Collin.
zlib zlib MZ_ZLIB Written by Mark Adler and Jean-loup Gailly. Or alternatively, zlib-ng by Hans Kristian Rosbach.
zstd BSD MZ_ZSTD Written by Facebook.

This project uses the zlib license.

Acknowledgments

Thanks go out to all the people who have taken the time to contribute code reviews, testing and/or patches. This project would not have been as good without you.

Thanks to Gilles Vollant on which this work is originally based on.

The ZIP format was defined by Phil Katz of PKWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].