Skip to main content

Module sealed

Module sealed 

Source
Expand description

Sealed-box wire types and errors (recipient pubkey + ciphertext envelope).

Lifted into zlayer-types so cross-crate consumers can name the wire shape without depending on zlayer-secrets. The actual sealed-box crypto (sealing/opening, RecipientPrivateKey, key-material zeroization) stays in zlayer-secrets and consumes these wire types from here.

Structs§

RecipientPublicKey
A 32-byte X25519 recipient public key.
SealedSecret
A sealed secret payload — recipient-encrypted ciphertext plus identifying metadata.

Enums§

SealedError
Errors produced by sealed-box operations.