1. A method of generating a code vector comprising: providing N input data elements; and, generating a code vector comprising 2N data elements in response to the N input data elements, the first N data elements of the code vector representing a replica of the N input data elements, and the second N data elements of the code vector comprising N parity data elements, the combination of the first N data elements and the second N data elements forming a Kerdock code vector.