Skip to main content

Crate uselesskey_core_id

Crate uselesskey_core_id 

Source
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§

ArtifactId
Identifier used for deterministic artifact cache entries.
DerivationVersion
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§

ArtifactDomain
Domain strings are used to separate unrelated fixture types.