Patent ID: 7607074

Claim:
An error detector for detecting an error by calculating an error detecting value of a code string added with an error detecting code where a detection target code string to be error-detected comprises K, K being a natural number, number of bytes, each byte data being associated with a first sequence of data of the code string, and the error detecting value is obtained when the detection target code string is processed in the first sequence by a predetermined operation method, the error detector comprising: a substitute value output section outputting a specific substitute value corresponding to the first sequence of each byte data of the detection target code string; and an error detecting value calculation section calculating the error detecting value of the detection target code string according to an output result of the substitute value output section, wherein the error detecting value calculation section calculates the error detecting value by processing each byte data of the detection target code string and the specific substitute value corresponding to the first sequence in a second sequence of data of the code string, the second sequence being in a different direction from the first.