Module prelude
Source - Ed25519Suite
- Represents an instantiation of the Sphinx protocol using the ed25519 curve and
OffchainKeypair - MetaPacket
- An encrypted packet with a payload of size
P.
The final packet size is given by MetaPacket::SIZE. - PaddedPayload
- Holds data that are padded up to
P + 1. - PartialPacket
- Represents a packet that is only partially instantiated,
that is - it contains only the routing information and the Alpha value.
- ReplyOpener
- Entry stored locally by the
SURB creator to allow decryption
of received responses. - SURB
- Single Use Reply Block
- SharedKeys
- Structure containing shared keys for peers using the Sphinx algorithm.
- X25519Suite
- Represents an instantiation of the Sphinx protocol using the Curve25519 curve and
OffchainKeypair
- ForwardedMetaPacket
- Represent a
MetaPacket with one layer of encryption removed, exposing the details
about the next hop. - MetaPacketRouting
- Describes how a
MetaPacket should be routed to the destination.
- KeyIdMapper
- Trait that defines 1:1 mapper between key identifiers and the actual public keys.
- SphinxHeaderSpec
- Contains the necessary size and type specifications for the Sphinx packet header.
- SphinxSuite
- Represents an instantiation of the Spinx protocol using the given EC group and corresponding public key object.
- Unsigned
- The marker trait for compile time unsigned integers.
- create_surb
- Creates a pair of
SURB and ReplyOpener.
- DefaultSphinxPacketSize
- Default packet block size for the Sphinx protocol.
- SharedSecret
- Represents a shared secret with a remote peer.