This is a simple project that I made during my studies. One can secure a file with error correction bits - Reed-Solomon code is used. The resulting file is not bigger than 175% (considering 1MB+ files) and should be (partially) tolerant to burst errors as well. Obtained 10/10 points.
Use on your own risk.
For static:
make
For shared:
make shared
For static:
./rs{enc,dec} you.file [blocksize=100]
For shared:
LD_LIBRARY_PATH=. ./rs{enc,dec}-shared you.file [blocksize=100]
For static:
./rsenc you.file
./rsdec you.file.rsecc
For shared:
LD_LIBRARY_PATH=. ./rsenc-shared you.file
LD_LIBRARY_PATH=. ./rsdec-shared you.file.rsecc
2019