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§
- Recipient
Public Key - A 32-byte X25519 recipient public key.
- Sealed
Secret - A sealed secret payload — recipient-encrypted ciphertext plus identifying metadata.
Enums§
- Sealed
Error - Errors produced by sealed-box operations.