rs-hash-crc 0.1.0
CRC-32, CRC-32C, CRC-16 and CRC-64 checksums for bytes, with a streaming CRC-32
Install
cargo add rs-hash-crc --registry rupm
In Ruststudio: Packages, search for rs-hash-crc, Install.
Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.
Versions
- 0.1.0 2026-11-23
README
# rs-hash-crc CRC-32, CRC-32C, CRC-16 and CRC-64 checksums for bytes, with a streaming CRC-32 Add it with `rupm add rs-hash-crc` (or `cargo add rs-hash-crc --registry rupm`). Checksums detect accidental corruption only. This crate is not meant for security-critical use (a CRC is trivially forgeable). ```rust assert_eq!(rs_hash_crc::crc32(b"123456789"), 0xCBF4_3926); let mut c = rs_hash_crc::Crc32::new(); c.update(b"1234"); c.update(b"56789"); assert_eq!(c.finish(), 0xCBF4_3926); ```