Skip to content

theo543/rsarc

Repository files navigation

RSARC: Reed-Solomon Archive

Implementation of Reed-Solomon erasure coding for file corruption detection and repair using $O(n \log n)$ algorithms introduced in the paper Novel Polynomial Basis and Its Application to Reed-Solomon Erasure Codes.

Project for undergraduate thesis at University of Bucharest, Faculty of Mathematics and Computer Science.

Commands

  • test: Runs an end-to-end test of the program.
  • encode <input file> <output file> <block bytes> <parity blocks>: Generates parity data for the input file.
  • verify <input file> <parity file>: Check for corruption in the input and parity files.
  • repair <input file> <parity file>: Attempt to find and repair corruption in the input and parity files, if there is enough parity data and the metadata is not corrupt.
  • reassemble <input file> <parity file> <reassembled input file> <reassembled parity file>: Reassemble the input and parity files after an insertion/deletion error (very unlikely to happen).

License

Licensed under either the Apache License 2.0 or the MIT license at your option.

About

Reed-Solomon erasure coding in Rust

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors