1. A method for error detection, comprising: receiving a block of data having a modulo-based input error detection code and an error correction term appended thereto; calculating an output error detection code of the block; combining the input error detection code and the error correction term to produce a modified error detection code; and comparing the calculated error detection code to the modified error detection code so as to detect an error in the block.