1 unstable release
0.1.0 | Jun 16, 2025 |
---|
#527 in Command line utilities
135 downloads per month
91KB
2K
SLoC
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.
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).
Dependencies
~5–30MB
~432K SLoC