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.
- Session
Key - Session key: 32-byte random value, destroyed on drop. Never serialized, never logged. See SPEC.md INV-10, INV-12.
- Swap
Result - Result of a
swapcall.
Enums§
- Swap
Error - Errors returned by
crate::swap.