Skip to main content

Module checksum

Module checksum 

Source
Expand description

Checksum algorithms for block integrity verification.

This module provides multiple checksum implementations:

  • crc — CRC32 checksums (industry standard, robust)
  • xor — XOR checksums (fast, simple, incremental updates)

All types are re-exported at this level for convenience:

use bblock::checksum::{BCrcBlockAllocator, BXorBlockAllocator};

Re-exports§

pub use crc::BCrcBlock;
pub use crc::BCrcBlockAllocator;
pub use crc::BCrcBlockReader;
pub use crc::BCrcBlockView;
pub use crc::BCrcBlockWriter;
pub use crc::CHECKSUM_LENGTH;
pub use xor::BXorBlock;
pub use xor::BXorBlockAllocator;
pub use xor::BXorBlockReader;
pub use xor::BXorBlockView;
pub use xor::BXorBlockWriter;

Modules§

crc
CRC32-checksummed persistent blocks built on top of bstack.
xor
XOR-checksummed persistent blocks built on top of bstack.