个人工具

“Checksum”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(什么是校验和移动到Checksum)
第2行: 第2行:
 
{{Languages|Checksum}}
 
{{Languages|Checksum}}
  
<h1 id="head-be3e3099709c47ca620b502f1eafdad9915556c4">校验和</h1>
+
== Definition ==
<p>&nbsp;</p>
+
 
<p class="line862">原文出处:<a class="https" href="https://help.ubuntu.com/community/Checksum">Ubuntu Documentation</a></p>
+
A checksum is like a signature of data given in a standard fashion. This representation has a fixed length, and is unique for different strings of data.
<p class="line874">原文作者:Ubuntu Community</p>
+
'''Files like this usually ends with md5, md5sum, sha, checksum, sum, or something similar'''
<p class="line867">&nbsp;</p>
+
 
<p class="line867">&nbsp;</p>
+
The idea is that it is virtually impossible to modify the data without affecting the signature so that a package cannot be corrupted or manipulated without affecting this signature and once it is corrupted or manipulated, you can know about it.
<p class="line874">授权许可:</p>
+
 
<ul>
+
== Normal Usage ==
    <li style="list-style-type: none;">
+
This feature can be used to verify file downloads. If the owner/maintainer/provider of a file creates a checksum, eg an MD5 or SHA file. You can download the file and also download this checksum file. And once the downloads are finished, you can natively calculate your own checksum using the checksum program. These downloaded and calculated values can be verified, thus telling you that the file downloaded is an exact copy of the original.
    <p class="line891"><a class="http" href="http://creativecommons.org/licenses/by-sa/2.0/">创作共用协议Attribution-ShareAlike 2.0</a></p>
+
Another use is to verify larger automatic backup solutions, such as common mirroring applications as rsync or wget.
    </li>
+
 
    <li style="list-style-type: none;">
+
== History ==
    <p class="line891"><a class="http" href="http://www.gnu.org/copyleft/fdl.html">GNU自由文档许可证</a></p>
+
This system has been used almost since the dawn of computers. And it is used even today without you knowing it, for example there is CRC checking as you transfer TCP/IP packages to view this page.
    </li>
+
 
</ul>
+
how relevent is this???
<p class="line862">翻译人员:<a href="http://127.0.0.1:8000/MillenniumDark">MillenniumDark</a></p>
+
=== xmodem ===
<p class="line874">校正人员:farproc</p>
+
----
<p class="line874">贡献人员:</p>
+
Xmodem, a popular file-transfer protocol, uses a 1-byte checksum, which is calculated by adding all the ASCII values for all 128 data bytes and ignoring any numeric overflow. The checksum is added to the end of the Xmodem data packet. This type of checksum does not always detect all the errors. In the later versions of the Xmodem protocol, cyclical redundancy check (CRC) is used instead of more rigorous error control.
<p class="line874">适用版本:</p>
+
''(Ref: Dyson, Dictionary of Networking)''
<p class="line862">文章状态:<a class="nonexistent" href="http://127.0.0.1:8000/%E7%BF%BB%E8%AF%91%E5%AE%8C%E6%88%90">翻译完成</a></p>
+
----
<p class="line874">根据2006-02-20 13:07:56的英文版翻译完成。</p>
+
 
<hr />
+
== Links ==
<p class="line874">&nbsp;</p>
+
[http://freshmeat.net/browse/19/ Freshmeat software repository. Category System Archiving]
<p>&nbsp;</p>
+
 
<p class="line867">&nbsp;</p>
+
[http://ee.tut.fi/~heikki/foss/ckmd5/ chkmd5, a popular md5 checksum verifier]
<h2 id="head-6c570a24b0bc534f91535e85a7e33b844fea9fd2">1. Definition(定义)</h2>
+
 
<p>&nbsp;</p>
+
[http://cfv.sourceforge.net/ cfv, a general checksum creator/checker. This can even verify .torrent files!]
<p class="line862">A checksum is like a signature of data given in a standard fashion. This representation has a fixed length, and is unique for different strings of data. <strong>Files like this usually ends with md5, md5sum, sha, checksum, sum, or something similar</strong></p>
+
 
<p class="line862">checksum是以标准方式给出的数据的签名。它具有固定的长度,不同的数据串具有各自不同的checksum。<strong>这一类checksum文件通常以md5、  md5sum、sha、 checksum、sum或者类似的东西结尾。</strong></p>
+
[http://winmd5sum.solidblue.ca/ winmd5sum is a free, open source, easy to use md5 checker for Windows]
<p class="line874">The idea is that it is virtually impossible to modify the data without affecting the signature so that a package cannot be corrupted or manipulated without affecting this signature and once it is corrupted or manipulated, you can know about it.</p>
+
<p class="line874">它的思想是决不可能修改数据而不影响其签名,所以一个包被破坏或被改动后其签名一定会受到影响。同时一旦它被破坏或被改动过,你通过检查签名就会得知。</p>
+
<p class="line867">&nbsp;</p>
+
<h2 id="head-ea6c009003b37221f038df27461bd54cb97096a7">2. Normal Usage(通常使用)</h2>
+
<p>&nbsp;</p>
+
<p class="line874">This feature can be used to verify file downloads. If the owner/maintainer/provider of a file creates a checksum, eg an MD5 or SHA file. You can download the file and also download this checksum file. And once the downloads are finished, you can natively calculate your own checksum using the checksum program. These downloaded and calculated values can be verified, thus telling you that the file downloaded is an exact copy of the original. Another use is to verify larger automatic backup solutions, such as common mirroring applications as rsync or wget.</p>
+
<p class="line874">Checksum 的这一特性通常用于校验文件下载。如果文件的拥有者、维护者、提供者创建了一个,比如说,MD5或者SHA的Checksum文件, 下载这一文件的使用者可以同时下载这个Checksum文件。一旦下载完成,他/她就可以在本地通过计算得出自己的checksum文件。通过 校验,两者相符,使用者就知道下载所得和预期完全一致。另一个用处是校验巨大的自动备份。也可用于一些常见的镜像软件,比如 rsync和wget。</p>
+
<p class="line867">&nbsp;</p>
+
<h2 id="head-2aa166ce6efa3c107f9a9e650e61dbbdb6522de4">3. History(历史)</h2>
+
<p>&nbsp;</p>
+
<p class="line874">This system has been used almost since the dawn of computers. And it is used even today without you knowing it, for example there is CRC checking as you transfer TCP/IP packages to view this page.</p>
+
<p class="line874">几乎在电脑产生的时候这一系统就使用了。如今,它(checksum)依然无处不在,即使你没察觉到;比如,当你传送TCP/IP包来查看本页面时,就使用checksum进行了即时的CRC校验。</p>
+
<p class="line867">&nbsp;</p>
+
<p class="line867">&nbsp;</p>
+
<p class="line867">&nbsp;</p>
+
<h3 id="head-93d31583291b90b80681dc9f109d91afb209a2dd">3.1. xmodem</h3>
+
<p>&nbsp;</p>
+
<hr />
+
<p class="line874">Xmodem, a popular file-transfer protocol, uses a 1-byte checksum, which is calculated by adding all the ASCII values for all 128 data bytes and ignoring any numeric overflow. The checksum is added to the end of the Xmodem data packet. This type of checksum does not always detect all the errors. In the later versions of the Xmodem protocol, cyclical redundancy check (CRC) is used instead of more rigorous error control. <em>(Ref: Dyson, Dictionary of Networking)</em></p>
+
<p class="line862">Xmodem, 通行的文件传输协议,使用一字节的checksum。这一checksum是这样计算的:将所有128个数据字节的ASCII值相加,忽略所有(相加所得 和的)溢出部分的数值。checksum附加在Xmodem数据包的最后。这种checksum并不总能检测出所有错误。在Xmodem协议后续版本中, 它被换成cyclical redundancy check (CRC),以支持更严格的错误控制。<em>(参见:Dyson,Dictionary of Networking) </em></p>
+
<hr />
+
<p class="line874">&nbsp;</p>
+
<p class="line867">&nbsp;</p>
+
<p class="line867">&nbsp;</p>
+
<h2 id="head-065f1d9c44b5bdcdbcca9d1e5a32c1e597742f60">4. Link(链接)</h2>
+
<p>&nbsp;</p>
+
<p class="line867"><a class="http" href="http://freshmeat.net/browse/19/">Freshmeat software repository. Category System Archiving</a></p>
+
<p class="line867"><a class="http" href="http://ee.tut.fi/%7Eheikki/foss/ckmd5/">chkmd5, a popular md5 checksum verifier</a></p>
+
<p class="line867"><a class="http" href="http://cfv.sourceforge.net/">cfv, a general checksum creator/checker. This can even verify .torrent files!</a></p>
+
<p class="line867"><a class="http" href="http://winmd5sum.solidblue.ca/">winmd5sum is a free, open source, easy to use md5 checker for Windows</a></p>
+
<p lang="zh" id="pageinfo" class="info" dir="ltr">CheckSum  (2007-03-12 15:26:00由<span title="??? @ localhost[127.0.0.1]">localhost</span>编辑)</p>
+

2007年5月9日 (三) 13:14的版本

From: https://help.ubuntu.com/community/Checksum


Definition

A checksum is like a signature of data given in a standard fashion. This representation has a fixed length, and is unique for different strings of data. Files like this usually ends with md5, md5sum, sha, checksum, sum, or something similar

The idea is that it is virtually impossible to modify the data without affecting the signature so that a package cannot be corrupted or manipulated without affecting this signature and once it is corrupted or manipulated, you can know about it.

Normal Usage

This feature can be used to verify file downloads. If the owner/maintainer/provider of a file creates a checksum, eg an MD5 or SHA file. You can download the file and also download this checksum file. And once the downloads are finished, you can natively calculate your own checksum using the checksum program. These downloaded and calculated values can be verified, thus telling you that the file downloaded is an exact copy of the original. Another use is to verify larger automatic backup solutions, such as common mirroring applications as rsync or wget.

History

This system has been used almost since the dawn of computers. And it is used even today without you knowing it, for example there is CRC checking as you transfer TCP/IP packages to view this page.

how relevent is this???

xmodem


Xmodem, a popular file-transfer protocol, uses a 1-byte checksum, which is calculated by adding all the ASCII values for all 128 data bytes and ignoring any numeric overflow. The checksum is added to the end of the Xmodem data packet. This type of checksum does not always detect all the errors. In the later versions of the Xmodem protocol, cyclical redundancy check (CRC) is used instead of more rigorous error control. (Ref: Dyson, Dictionary of Networking)


Links

Freshmeat software repository. Category System Archiving

chkmd5, a popular md5 checksum verifier

cfv, a general checksum creator/checker. This can even verify .torrent files!

winmd5sum is a free, open source, easy to use md5 checker for Windows