Skip to main content

FINGERPRINT_KEY

Constant FINGERPRINT_KEY 

Source
pub const FINGERPRINT_KEY: [u8; 32];
Expand description

The fixed blake3 key used for all pattern fingerprints.

Foreign extractors that produce pattern fingerprints must use this same key to ensure their fingerprints are byte-identical to those produced by the native Rust pipeline.

See normalize_and_hash for the canonical tree-aware algorithm. Fixed 32-byte key for all pattern fingerprints.

This constant must never change within a snapshot_version. Changing it invalidates all existing snapshot fingerprints and requires a snapshot version bump per CLAUDE.md Rule 19.

NOTE: the byte literal still spells sdi-rust rather than sdivi-rust because this is the on-the-wire blake3 key — it has nothing to do with the project’s display name, and rotating it would invalidate every published snapshot’s fingerprints. The 32-byte length is load-bearing.