Skip to main content

Crate tokmd_redact

Crate tokmd_redact 

Source
Expand description

§tokmd-redact

Tier 0.5 (Utilities)

This crate provides redaction utilities for tokmd receipts. It’s the canonical source for hashing functions used to redact sensitive information (paths, patterns) in output while preserving useful structure.

§What belongs here

  • Path redaction (hash while preserving extension)
  • String hashing for redaction

§What does NOT belong here

  • General-purpose file hashing (see tokmd-content)
  • Integrity hashing (see tokmd-analysis)

Functions§

redact_path
Redact a path by hashing it while preserving the file extension.
short_hash
Compute a short (16-character) BLAKE3 hash of a string.