Expand description
Core identity and derivation primitives for uselesskey.
Defines ArtifactId — the (domain, label, spec_fingerprint, variant, derivation_version) tuple that uniquely identifies each generated artifact.
Provides deterministic seed derivation from a master seed and artifact id.
Structs§
- Artifact
Id - Identifier used for deterministic artifact cache entries.
- Derivation
Version - Version tag for the derivation scheme.
- Seed
- Seed bytes derived from user input for deterministic fixtures.
Functions§
- derive_
seed - Derive a per-artifact seed from the master seed and the artifact identifier.
- hash32
- Compute a BLAKE3 digest over input bytes.
- write_
len_ prefixed - Write a length-prefixed byte slice into a BLAKE3 hasher.
Type Aliases§
- Artifact
Domain - Domain strings are used to separate unrelated fixture types.