[wiki]Checksum

参与到Ubuntu的翻译中来
回复
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

[wiki]Checksum

#1

帖子 oneleaf » 2005-09-07 22:50

Definition

A checksum is a representation of data in a standardized fashion. This representation has a fixed length, and is individual for different strings of data. Files like this are usually ends with md5, md5sum, sha, checksum, sum, or something similar
Normal Usage

This feature can be used to verify file downloads. If the owner/maintainer/provider of a file creates eg, an MD5 or SHA checksum file... The user that downloads the file can also download this checksum file. And once the download is finished, he can natively calculate his own checksum. These two can be verified, thus telling the user that the file downloaded is exactly the same as intended. Another usage is to verify larger automatic backup solutions, or such 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 instant CRC checking as you transfer TCP/IP packages to view this page.

Xmodem, a popular file-transfer protocol, uses a 1-byte checksum 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 errors. In later versions of the Xmodem protocol, cyclical redundancy check (CRC) is used instead for more rigorous error control. (Ref: Dyson, Dictionary of Networking)

Links

[WWW] Freshmeat software repository. Category System Archiving [WWW] chkmd5, a popular md5 checksum verifier [WWW] cfv, a general checksum creator/checker. This can even verify .torrent files! [WWW] winmd5sum is a free, open source, easy to use md5 checker for Windows

https://wiki.ubuntu.com/Checksum
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#2

帖子 millenniumdark » 2005-09-10 15:23

标题:checksum
来源:https://wiki.ubuntu.com/Checksum
译者:Jonah.Simon
顾问:leal
上次由 millenniumdark 在 2005-09-11 18:50,总共编辑 1 次。
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#3

帖子 millenniumdark » 2005-09-10 15:33

定义

checksum是有着标准样式的数据组合。它具有固定的长度,不同的数据串具有各自不同的checksum。这一类checksum文件通常以md5、
md5sum、sha、 checksum、sum或者类似的东西结尾。
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#4

帖子 millenniumdark » 2005-09-10 15:49

通常使用

Checksum的这一特性通常用于校验文件下载。如果文件的拥有者、维护者、提供者创建了一个,比如说,MD5或者SHA的Checksum文件...
下载这一文件的使用者可以同时下载这个Checksum文件。一旦下载完成,他/她就可以在本地通过计算得出自己的checksum文件。通过
校验,两者相符,使用者就知道下载所得和预期完全一致。另一个用处是校验巨大的自动备份。也可用于一些常见的镜像软件,比如
rsync和wget。
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#5

帖子 millenniumdark » 2005-09-10 16:09

历史

几乎在电脑产生的时候这一系统就使用了。如今,它(checksum)依然无处不在,即使你没察觉到;比如,当你传送TCP/IP包来查看本页面时,就使用checksum进行了即时的CRC校验。

Xmodem,通行的文件传输协议,使用一字节的checksum。这一checksum是这样计算的:将所有128个数据字节的ASCII值相加,忽略所有(相加所得和的)溢出部分的数值。checksum附加在Xmodem数据包的最后。这种checksum并不总能检测出所有错误。在Xmodem协议后续版本中,它被换成cyclical redundancy check (CRC),以支持更严格的错误控制。(参见:Dyson,Dictionary of Networking)
上次由 millenniumdark 在 2005-09-11 18:48,总共编辑 3 次。
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#6

帖子 millenniumdark » 2005-09-10 16:10

链接:
[WWW] Freshmeat software repository. Category System Archiving
[WWW] chkmd5, a popular md5 checksum verifier
[WWW] cfv, a general checksum creator/checker. This can even verify .torrent files!
[WWW] winmd5sum is a free, open source, easy to use md5 checker for Windows
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#7

帖子 millenniumdark » 2005-09-10 16:17

完成

粗读一遍

And it is used even today without you knowing it, for instant CRC checking as you transfer TCP/IP packages to view this page.

Xmodem, a popular file-transfer protocol, uses a 1-byte checksum calculated by adding all the ASCII values for all 128 data bytes and ignoring any numeric overflow.

这两句的翻译我不太满意,谁能指点一二?
头像
leal
帖子: 1119
注册时间: 2005-08-29 14:49
来自: 杭州
联系:

#8

帖子 leal » 2005-09-10 16:28

millennuimdark 写了:完成

粗读一遍

And it is used even today without you knowing it, for instant CRC checking as you transfer TCP/IP packages to view this page.

Xmodem, a popular file-transfer protocol, uses a 1-byte checksum calculated by adding all the ASCII values for all 128 data bytes and ignoring any numeric overflow.

这两句的翻译我不太满意,谁能指点一二?
如今,它(checksum)依然无处不在,即使你没察觉到;比如,当你传送TCP/IP包来查看本页面时,就进行了即时的CRC校验。

Xmodem是个流行的文件传输协议,它使用1字节校验和(chechsum),由128个数据字节的所有ASCII值相加得到,同时忽略任何溢出的数字。
用心×恒 | 豆瓣 | 门户 | Blog
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#9

帖子 millenniumdark » 2005-09-10 17:05

leal 写了: 如今,它(checksum)依然无处不在,即使你没察觉到;比如,当你传送TCP/IP包来查看本页面时,就进行了即时的CRC校验。
nice。已据此作了修改。

谢谢leal。
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#10

帖子 millenniumdark » 2005-09-10 17:15

leal 写了:
Xmodem是个流行的文件传输协议,它使用1字节校验和(chechsum),由128个数据字节的所有ASCII值相加得到,同时忽略任何溢出的数字。
我觉得这里checksum还是不要翻成校验的好,因为checksum一开始就给出了定义,属于术语。术语有时并不翻成常用词。比如,最近看数据库的资料,table他翻成“二维表”。还是保留英文的好。

数据溢出和溢出的数字差别不大。但是我看到的翻成数据溢出的好像比较多。

再次感谢。
头像
leal
帖子: 1119
注册时间: 2005-08-29 14:49
来自: 杭州
联系:

#11

帖子 leal » 2005-09-11 14:48

millennuimdark 写了:
leal 写了:
Xmodem是个流行的文件传输协议,它使用1字节校验和(chechsum),由128个数据字节的所有ASCII值相加得到,同时忽略任何溢出的数字。
我觉得这里checksum还是不要翻成校验的好,因为checksum一开始就给出了定义,属于术语。术语有时并不翻成常用词。比如,最近看数据库的资料,table他翻成“二维表”。还是保留英文的好。

数据溢出和溢出的数字差别不大。但是我看到的翻成数据溢出的好像比较多。

再次感谢。
同时忽略所有(这个结果的)溢出部分(数值)。
假设128个字节的所有ASCII码相加得256,即二进制表示为
100,000,000
由于checksum只有8位(1个字节),所以第9位被忽略。
用心×恒 | 豆瓣 | 门户 | Blog
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#12

帖子 millenniumdark » 2005-09-11 18:40

leal 写了: 同时忽略所有(这个结果的)溢出部分(数值)。
假设128个字节的所有ASCII码相加得256,即二进制表示为
100,000,000
由于checksum只有8位(1个字节),所以第9位被忽略。
真是認真啊!佩服

我根本沒去考慮為啥會有溢出,只是機械地照著翻譯。沒想過128个字节的所有ASCII码相加所得的和會超過八位。

已修改。
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#13

帖子 oneleaf » 2005-09-12 10:53

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#14

帖子 millenniumdark » 2006-07-13 0:31

英文原文已经出了新版本了。这里的翻译过时了。
根据新版修订后的中文翻译在这里:
http://wiki.ubuntu.org.cn/CheckSum
回复