Skip to content

std::hash::crc32

Status: experimental

CRC-32 (IEEE) checksums.

API details and source

The implementation source contains the complete declarations and implementation notes. The table below lists canonical Gossamer call signatures; every item name links directly to its implementation file.

Item Canonical signature or declaration Description
checksum fn checksum(data: Vec<u8>) -> i64 CRC-32 checksum of a byte slice.
checksum_string fn checksum_string(text: String) -> i64 CRC-32 checksum of a String.
update fn update(seed: i64, data: Vec<u8>) -> i64 Continues a CRC-32 from a running value over more bytes.