Skip to content

FS-make-simple/rs-coder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple tool to secure a file for bit errors

Description

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.

Build

For static:

make

For shared:

make shared

Usage

For static:

./rs{enc,dec} you.file [blocksize=100]

For shared:

LD_LIBRARY_PATH=. ./rs{enc,dec}-shared you.file [blocksize=100]

Examples

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

Packages

No packages published

Languages

  • C 63.4%
  • C++ 30.9%
  • Makefile 5.7%