The lzlib compression library provides in-memory LZMA compression and decompression functions, including integrity checking of the decompressed data. The compressed data format used by the library is the lzip format.
The lzip file format is designed for long-term data archiving. It is clean, provides very safe 4-factor integrity checking, and is backed by the recovery capabilities of lziprecover.