Dec 182017
 
Calculate 32-bit CRC.
File CRC.ZIP from The Programmer’s Corner in
Category C Source Code
Calculate 32-bit CRC.
File Name File Size Zip Size Zip Type
CRC.C 8518 3451 deflated
CRC.DOC 1640 689 deflated
CRC.EXE 9022 6311 deflated

Download File CRC.ZIP Here

Contents of the CRC.DOC file





CCCCRRRRCCCC((((1111)))) XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((OOOOMMMMEEEENNNN)))) CCCCRRRRCCCC((((1111))))



NNNNAAAAMMMMEEEE
crc - checksum files

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ccccrrrrcccc file ...

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
For each file, _c_r_c calculates and prints a 32-bit CRC, the
byte count, and the file name. It is typically used to
validate files transferred between different systems, and is
useful in detecting subtle disk corruption. _C_r_c uses a
checksum compatible with the DOS version of crc, as well as
the "crc" command in ZCOMM and Professional-YAM (high
reliability communications programs).

The 32-bit CRC used is the frame check sequence in ADCCP
(ANSI X3.66, also known as FIPS PUB 71 and FED-STD-1003, the
U.S. versions of CCITT's X.25 link-level protocol).

32 bit CRC code courtesy Gary S. Brown.

BBBBUUUUGGGGSSSS
Although most unlikely, files with different data may still
produce the same crc value.

SSSSEEEEEEEE AAAALLLLSSSSOOOO
chek(1), tocpm(1), sum(1), wc(1).




























Page 1 (printed 1/17/87)





 December 18, 2017  Add comments

Leave a Reply