Home

Awesome

Reedsolomon

OCaml library implementing a Reed-Solomon error correction CODEC and corresponding implementation in Hardcaml.

build status

About RS coding

A Reed-Solomon (RS) CODEC takes blocks of symbols and adds some number of parity symbols to form a code word. The code word may become corrupted (by some transmission or storage medium) and the original message can be recovered by the RS decoder if the number of corrupted symbols is less than or equal to half the number of parity symbols added.

The following parameters define the RS code:

The symbols in the codec are elements of a Galois field. Although important to the mathematics behind RS coding, they are not particularly important for using it.

Project structure