Youdidnt buildthat wrote:
> "RichD" wrote in message
> >I notice that the disk drive industry uses CRC error correction
> > codes. Can anybody tell me where these come from, do they
> > have their own standards?
>
> yes, cyclic redundance codes,
Or cyclic redundancy check.
> they are 'prime number' polynomials
>
> Peterson has written several books on them (invented/discovered in 1961)
> CRC16 is one specific polynomial,
> x^16+x^15+x^2+1
Many standard CRC polynomials, including that one, are reducible.
Specifically they have a factor of (x + 1) to detect any odd number of
bit errors with certainty.
[...]
> CRC was earlier, and a very good set of codes, easily executed in hardware,
> on the fly XOR, and fast. (also in firmware) good fit with computer memory
> and files
Right. The table-drive software method is reasonably fast, but where
they really shine is in hardware. A linear feedback shift register
with taps corresponding to the positions of the 1 coefficients
computes the CRC on the fly using very few gates.
I'm reading this on sci.crypt, where we deal with the frightening
record of CRC misuse. They're great for detecting accidental errors,
but intelligent adversaries easily exploit their linear mathematical
properties.
-Bryan