Expand description
Contains the main implementation of a SPHINX packet.
Structs§
- Meta
Packet - An encrypted packet with a payload of size
P. The final packet size is given byMetaPacket::SIZE. - Padded
Payload - Holds data that are padded up to
P + 1. - Partial
Packet - Represents a packet that is only partially instantiated, that is - it contains only the routing information and the Alpha value.
- Simple
BiMapper - Basic implementation of the [
KeyIdMapping] trait for a simple bi-map.
Enums§
- Forwarded
Meta Packet - Represent a
MetaPacketwith one layer of encryption removed, exposing the details about the next hop. - Meta
Packet Routing - Describes how a
MetaPacketshould be routed to the destination.
Traits§
- Protocol
KeyId Mapper - Protocol instantiation specific implementation of the [
KeyIdMapping]