Expand description
Content integrity verification for CHIE Protocol.
This module provides:
- Chunk hash verification
- Merkle tree construction and verification
- Content manifest validation
Structs§
- Content
Manifest - Content manifest with integrity information.
- Content
Verifier - Content verifier for streaming verification.
- Integrity
Repair Result - Result of an integrity repair operation.
- Integrity
Repairer - Automatic integrity repair system.
- Manifest
Builder - Builder for content manifests.
- Repair
Stats - Statistics for repair operations.
Enums§
- Integrity
Error - Integrity verification error.
- Repair
Strategy - Repair strategy for corrupted chunks.
Constants§
- DEFAULT_
CHUNK_ SIZE - Default chunk size for integrity verification (256 KB).
Functions§
- verify_
content - Verify complete content from a reader against a manifest.
- verify_
single_ chunk - Quick verification helper for single chunk.