Robust and fast checksum algorithm?

前端 未结 10 1630
失恋的感觉
失恋的感觉 2020-12-23 20:30

Which checksum algorithm can you recommend in the following use case?

I want to generate checksums of small JPEG files (~8 kB each) to check if the content changed.

10条回答
  •  旧时难觅i
    2020-12-23 20:58

    adler32, available in the zlib headers, is advertised as being significantly faster than crc32, while being only slightly less accurate.

提交回复
热议问题