I wrote a piece of code for a project (funded by me) that never got off the ground. I thought the code was pretty slick.
The ECC algorithm is old and tried and true. Normally, because of the processing required, it is usually relegated to hardware (as is parity checking). So today in servers and in high reliability computing, we often see “ECC protection” advertised in the hardware.
Particularly in embedded systems, data is often recorded at environmental extremes in temperature, vibration and radiation. Often these environmental factors contribute to data corruption. The most common data errors are bit errors, a bit dropped or a bit added.
Error Correction Codes (or Hamming codes) are designed to detect this problem and is some cases, they can correct the problem.
I wanted to put it in your forum (I have been asking for donations on an honor basis only if the article/code was valuable to the reader).
Do you allow this and how do I go about it?