码迷,mamicode.com
首页 > 编程语言 > 详细

Checksum 一个良好的校验和算法通常会对进行很小的修改的输入数据都会输出一个显著不同的值

时间:2017-04-11 11:17:12      阅读:328      评论:0      收藏:0      [点我收藏+]

标签:http   abi   cat   完整性   download   for   print   技术分享   ever   

w

 

技术分享

https://en.wikipedia.org/wiki/Checksum

https://zh.wikipedia.org/wiki/校验和

 

checksum is a small-sized datum derived from a block of digital data for the purpose of detecting errors which may have been introduced during its transmission or storage. It is usually applied to an installation file after it is received from the download server. By themselves, checksums are often used to verify data integrity but are not relied upon to verify data authenticity.

The actual procedure which yields the checksum from a data input is called a checksum function or checksum algorithm. Depending on its design goals, a good checksum algorithm will usually output a significantly different value, even for small changes made to the input. This is especially true of cryptographic hash functions, which may be used to detect many data corruption errors and verify overall data integrity; if the computed checksum for the current data input matches the stored value of a previously computed checksum, there is a very high probability the data has not been accidentally altered or corrupted.

Checksum functions are related to hash functionsfingerprintsrandomization functions, and cryptographic hash functions. However, each of those concepts has different applications and therefore different design goals.

 

 

校验和英语:Checksum)是冗余校验的一种形式。 它是通过错误检测方法,对经过空间(如通信)或者时间(如计算机存储)传送的数据的完整性进行检查的一种简单方法。

计算机领域常见的校验和的方法有循环冗余校验(CRC)、MD5SHA家族等。

 

Checksum 一个良好的校验和算法通常会对进行很小的修改的输入数据都会输出一个显著不同的值

标签:http   abi   cat   完整性   download   for   print   技术分享   ever   

原文地址:http://www.cnblogs.com/yuanjiangw/p/6692535.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!