问题描述
我想知道与例如md5校验和?维基百科上说,adler32的可靠性要比md5低得多,所以我想知道它的数量和方式如何?
I wonder how reliable the adler32 checksum is, compared to e.g. md5 checksums? It was told on wikipedia that adler32 is "much less reliable" than md5, so I wonder how much, and in which way?
更具体地说,我想知道它是否足以作为一致性检查来长期存档大小超过20GB的(tar)文件?
More specifically, I'm wondering if it is reliable enough as a consistency check for long-time archiving of (tar) files of size 20GB+?
推荐答案
有关Adler-32校验和的错误检查功能的详细信息,请参见例如
For details on the error-checking capabilities of the Adler-32 checksum, see for example Revisiting Fletcher and Adler Checksums. Maxino, 2006.
本文包含对这两个校验和提供的汉明距离的分析,并提供了高达2 ^ 11位的数据字的残差率指示.显然,这比您的2 ^ 38位要少得多...
This paper contains an analysis on the Hamming distance provided by these two checksums, and provides an indication of the residual error rate for data words up to about 2^11 bits. Which, obviously is much less than your requirement of 2^38 bits...
这篇关于adler32校验和的可靠性如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!