Skip to content

DigestOptions

DigestOptions = object

Defined in: src/codecs/digest/index.ts:28

Configuration options for a Digest codec instance.

optional allowDuplicateBrand?: boolean

Defined in: src/codecs/digest/index.ts:41

If true, silences the duplicate-brand warning in non-production environments.


key: DigestKey

Defined in: src/codecs/digest/index.ts:39

Single operator digest key. The Digest codec holds exactly one key — there is no keyring. Re-keying is a deliberate, breaking operator action.


ns: string

Defined in: src/codecs/digest/index.ts:34

Non-secret, required namespace. The same material under a different ns yields a different ID, so one key can serve multiple unlinkable namespaces. Must be non-empty and not whitespace-only.