Checksum
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Checksum }} |
点击翻译: |
English {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/af | • {{#if: Checksum|Afrikaans| [[::Checksum/af|Afrikaans]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/ar | • {{#if: Checksum|العربية| [[::Checksum/ar|العربية]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/az | • {{#if: Checksum|azərbaycanca| [[::Checksum/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/bcc | • {{#if: Checksum|جهلسری بلوچی| [[::Checksum/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/bg | • {{#if: Checksum|български| [[::Checksum/bg|български]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/br | • {{#if: Checksum|brezhoneg| [[::Checksum/br|brezhoneg]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/ca | • {{#if: Checksum|català| [[::Checksum/ca|català]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/cs | • {{#if: Checksum|čeština| [[::Checksum/cs|čeština]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/de | • {{#if: Checksum|Deutsch| [[::Checksum/de|Deutsch]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/el | • {{#if: Checksum|Ελληνικά| [[::Checksum/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/es | • {{#if: Checksum|español| [[::Checksum/es|español]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/fa | • {{#if: Checksum|فارسی| [[::Checksum/fa|فارسی]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/fi | • {{#if: Checksum|suomi| [[::Checksum/fi|suomi]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/fr | • {{#if: Checksum|français| [[::Checksum/fr|français]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/gu | • {{#if: Checksum|ગુજરાતી| [[::Checksum/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/he | • {{#if: Checksum|עברית| [[::Checksum/he|עברית]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/hu | • {{#if: Checksum|magyar| [[::Checksum/hu|magyar]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/id | • {{#if: Checksum|Bahasa Indonesia| [[::Checksum/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/it | • {{#if: Checksum|italiano| [[::Checksum/it|italiano]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/ja | • {{#if: Checksum|日本語| [[::Checksum/ja|日本語]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/ko | • {{#if: Checksum|한국어| [[::Checksum/ko|한국어]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/ksh | • {{#if: Checksum|Ripoarisch| [[::Checksum/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/mr | • {{#if: Checksum|मराठी| [[::Checksum/mr|मराठी]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/ms | • {{#if: Checksum|Bahasa Melayu| [[::Checksum/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/nl | • {{#if: Checksum|Nederlands| [[::Checksum/nl|Nederlands]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/no | • {{#if: Checksum|norsk| [[::Checksum/no|norsk]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/oc | • {{#if: Checksum|occitan| [[::Checksum/oc|occitan]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/pl | • {{#if: Checksum|polski| [[::Checksum/pl|polski]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/pt | • {{#if: Checksum|português| [[::Checksum/pt|português]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/ro | • {{#if: Checksum|română| [[::Checksum/ro|română]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/ru | • {{#if: Checksum|русский| [[::Checksum/ru|русский]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/si | • {{#if: Checksum|සිංහල| [[::Checksum/si|සිංහල]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/sq | • {{#if: Checksum|shqip| [[::Checksum/sq|shqip]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/sr | • {{#if: Checksum|српски / srpski| [[::Checksum/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/sv | • {{#if: Checksum|svenska| [[::Checksum/sv|svenska]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/th | • {{#if: Checksum|ไทย| [[::Checksum/th|ไทย]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/tr | • {{#if: Checksum|Türkçe| [[::Checksum/tr|Türkçe]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/vi | • {{#if: Checksum|Tiếng Việt| [[::Checksum/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/yue | • {{#if: Checksum|粵語| [[::Checksum/yue|粵語]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/zh | • {{#if: Checksum|中文| [[::Checksum/zh|中文]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/zh-hans | • {{#if: Checksum|中文(简体)| [[::Checksum/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: Checksum | Checksum | {{#if: | :}}Checksum}}/zh-hant | • {{#if: Checksum|中文(繁體)| [[::Checksum/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:Checksum|:Checksum|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Checksum/zh | | {{#ifexist: Checksum/zh | | {{#ifeq: {{#titleparts:Checksum|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Checksum|1|-1|}} | zh | | }}
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