tlsh_rs/lib.rs
1//! Pure Rust implementation of TLSH profiles and tooling.
2//!
3//! Supported digest profiles:
4//! - `128-1` canonical `T1`
5//! - `128-3`
6//! - `256-1`
7//! - `256-3`
8//!
9//! The crate exposes a pure-Rust hashing core plus a CLI module with text,
10//! JSON and SARIF output helpers.
11
12mod builder;
13pub mod cli;
14mod digest;
15mod error;
16mod internal;
17mod profile;
18
19pub use builder::{TlshBuilder, TlshOptions, hash_bytes, hash_bytes_with_profile};
20pub use digest::TlshDigest;
21pub use error::TlshError;
22pub use profile::{BucketKind, ChecksumKind, TlshProfile};