rsarc

Crates.iorsarc
lib.rsrsarc
version0.1.0
created_at2025-06-16 02:27:31.131291+00
updated_at2025-06-16 02:27:31.131291+00
descriptionReed-Solomon erasure coding utility for repairing file corruption with O(n log n) performance.
homepage
repositoryhttps://github.com/theo543/rsarc
max_upload_size
id1713846
size105,542
Theodor Negrescu (theo543)

documentation

README

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).
Commit count: 107

cargo fmt