minizip-ng/doc/mz_hash.md
2021-01-23 16:19:05 -08:00

441 B

MZ_HASH

Hash algorithm enumeration. The mz_zip_reader and mz_zip_writer instances support storing more secure hash algorithms for each zip entry.

Name Code Description
MZ_HASH_MD5 10 MD5 algorithm identifier
MZ_HASH_MD5_SIZE 16 MD5 digest size
MZ_HASH_SHA1 20 SHA1 algorithm identifier
MZ_HASH_SHA1_SIZE 20 SHA1 digest size
MZ_HASH_SHA256 23 SHA256 algorithm identifer
MZ_HASH_SHA256_SIZE 32 SHA256 digest size