bch error correcting code principles are employed in conjunction with normal basis representation of field elements to provide apparatus and method for encoding and decoding binary electrical signals in a way which ensures the ability to correct all double - bit errors and to detect all triple - bit errors . both the encoder and decoder are designed in a fashion which permits modular implementation so as to make the circuits more compact and easier to layout .