CRC-16
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Error detection and correction }} '''CRC-16''' is a broad family of CRC (cyclic redundancy check) algorithms that produce a 16-...") |
(→Specific algorithms) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
The CRC of ASCII "<code>123456789</code>" is <code>0xbb3d</code>. | The CRC of ASCII "<code>123456789</code>" is <code>0xbb3d</code>. | ||
− | Used by [[ARC]], [[LHA]], [[StuffIt]], [[Zoo]], [[ArcFS]]. | + | Used by [[ARC (compression format)|ARC]], [[LHA]], [[StuffIt]], [[Zoo]], [[ArcFS]], [[Spark]]. |
=== CRC-16/XMODEM === | === CRC-16/XMODEM === | ||
Line 24: | Line 24: | ||
Used by [[MacBinary]], [[BinHex]], [[LBR]]. | Used by [[MacBinary]], [[BinHex]], [[LBR]]. | ||
+ | |||
+ | === CRC-16/IBM-3740 === | ||
+ | Same as CRC-16/XMODEM, except that it is initialized to <code>0xffff</code> instead of <code>0x0000</code>. | ||
== Links == | == Links == |
Latest revision as of 17:58, 29 December 2023
CRC-16 is a broad family of CRC (cyclic redundancy check) algorithms that produce a 16-bit result.
Refer to the CRC article for more information.
Contents[hide] |
[edit] Specific algorithms
Selected CRC-16 algorithms are listed here. The names are from the CRC RevEng Catalogue.
[edit] CRC-16/ARC
Also referred to as CRC-16-IBM.
The CRC of ASCII "123456789
" is 0xbb3d
.
Used by ARC, LHA, StuffIt, Zoo, ArcFS, Spark.
[edit] CRC-16/XMODEM
This is a form of CRC-16-CCITT, though it may be inaccurate to refer to it by that name.
The CRC of ASCII "123456789
" is 0x31c3
.
Used by MacBinary, BinHex, LBR.
[edit] CRC-16/IBM-3740
Same as CRC-16/XMODEM, except that it is initialized to 0xffff
instead of 0x0000
.
[edit] Links
- CRC RevEng: Catalogue of parametrised CRC algorithms with 16 bits
- CRC Polynomial Zoo - 16 bits
- 1985 Document describing CRC modifications to the Ward Christensen protocol
- The CRC Wild Goose Chase
See also CRC#Links.