Skip to main content

Module types

Module types 

Source
Expand description

Core types: SessionKey, Entry, SwapResult, and error enums.

Structs§

Entry
One substitution record produced by a single swap call. Contains the fake bytes (not secret) and the AEAD-encrypted original secret. See SPEC.md §Entries.
SessionKey
Session key: 32-byte random value, destroyed on drop. Never serialized, never logged. See SPEC.md INV-10, INV-12.
SwapResult
Result of a swap call.

Enums§

SwapError
Errors returned by crate::swap.