1. A method for Error Correction Code (ECC) encoding, comprising: receiving, by an ECC encoder in a memory controller, data to be encoded; and encoding, by the ECC encoder, the data to produce a composite code word of a composite code, wherein the composite code word consists of N component code words, wherein each component code word is encoded in accordance with a respective underlying component code, and wherein at least a given component code word shares bits with all other N−1 component code words of the composite code word.