Let be a 4-dimensional vector and be a matrix on the field where is defined by:
Define a set by:
holds for:
Those elements are the (transposate vectors of the) vectors of .
The four cosets are composed of the (transposate vectors of the) following vectors:
Assume that we want to send the information . We can divide the matrix into two matrices:
gives us the bits which are sent with the information to check the validity of the received information. These bits are added to the information to form the sent package . When we received the information, we look for the coset in which it fits and we add the corresponding coset prefix. If the coset prefix is , it means that the information has not been altered; If the coset prefix is , it means that the fouth bit has been altered.