par2-rs 0.2.4

PAR2 parity verification and repair
Documentation

General-purpose PAR2 verification and repair engine.

This crate implements parsing and verification of PAR2 (Parity Archive Volume Set v2.0) files. It supports:

  • Parsing all PAR2 packet types (Main, File Description, IFSC, Recovery Slice, Creator)
  • Validating packet headers (magic, MD5 hash, length alignment)
  • Aggregating packets from multiple .par2 files into a unified set
  • Slice-level verification using CRC32 + MD5 from IFSC packets
  • 16KB quick-check hash for fast file identification
  • Full-file MD5 verification
  • Streaming checksum computation
  • Graceful handling of malformed/truncated packets (scan for next valid packet)