Expand description
High-performance Rust implementation of ISO 24138:2024 (ISCC).
This crate provides the core ISCC algorithm implementations. All 9 gen_*_v0
functions are the public Tier 1 API surface, designed to be compatible with
the iscc-core Python reference implementation.
Re-exports§
pub use cdc::alg_cdc_chunks;pub use codec::encode_base64;pub use codec::iscc_decompose;pub use conformance::conformance_selftest;pub use minhash::alg_minhash_256;pub use simhash::alg_simhash;pub use simhash::sliding_window;pub use streaming::DataHasher;pub use streaming::InstanceHasher;pub use utils::text_clean;pub use utils::text_collapse;pub use utils::text_remove_newlines;pub use utils::text_trim;pub use types::*;
Modules§
- cdc
- Content-Defined Chunking (CDC) for similarity-preserving data splitting.
- codec
- ISCC codec: type enums, header encoding/decoding, base32, and component encoding.
- conformance
- Conformance selftest for ISO 24138:2024 (ISCC).
- minhash
- MinHash algorithm for similarity-preserving hashing.
- simhash
- SimHash algorithm and sliding window utilities.
- streaming
- Streaming hash types for incremental ISCC code generation.
- types
- Structured result types for ISCC code generation functions.
- utils
- Text normalization and hashing utilities for ISCC code generation.
Enums§
- Iscc
Error - Error type for ISCC operations.
Functions§
- gen_
audio_ code_ v0 - Generate an Audio-Code from a Chromaprint feature vector.
- gen_
data_ code_ v0 - Generate a Data-Code from raw byte data.
- gen_
image_ code_ v0 - Generate an Image-Code from pixel data.
- gen_
instance_ code_ v0 - Generate an Instance-Code from raw byte data.
- gen_
iscc_ code_ v0 - Generate a composite ISCC-CODE from individual ISCC unit codes.
- gen_
meta_ code_ v0 - Generate a Meta-Code from name and optional metadata.
- gen_
mixed_ code_ v0 - Generate a Mixed-Code from multiple Content-Code strings.
- gen_
text_ code_ v0 - Generate a Text-Code from plain text content.
- gen_
video_ code_ v0 - Generate a Video-Code from frame signature data.
- soft_
hash_ video_ v0 - Compute a similarity-preserving hash from video frame signatures.
Type Aliases§
- Iscc
Result - Result type alias for ISCC operations.