tokmd-redact 1.9.0

Redaction utilities for tokmd. Provides path and string hashing for privacy-safe output.
Documentation

tokmd-redact

Privacy-safe redaction helpers for tokmd output.

Problem

Receipts need to preserve structure without leaking path details or other sensitive strings.

What it gives you

  • short_hash
  • redact_path

API / usage notes

  • Use short_hash when you need a stable identifier.
  • Use redact_path when you want to hide path contents but keep file-type hints.
  • Path separators are normalized before hashing so Windows and Unix produce the same result.
  • src/lib.rs is the canonical source for the redaction rules.

Go deeper