James's Ramblings

Python: zlib

Created: October 04, 2020

zlib - Compression compatible with gzip

For applications that require data compression, the functions in this module allow compression and decompression, using the zlib library.

Two hashing algorithms are available - adler32 and crc32. These algorithms are not cryptographically strong but are very inexpensive. adler32 is substantially less costly than crc32, however, is less reliable. MD5 is much more costly than crc32 but more reliable.