Crate nym_sphinx_types

Crate nym_sphinx_types 

Source

Modules§

builder
constants
crypto
delays
header

Structs§

Delay
Destination
DestinationAddressBytes
Error
Possible Sphinx errors, very strongly based on std::io::Error implementation
Node
NodeAddressBytes
Payload
PrivateKey
PublicKey
SURB
A Single Use Reply Block (SURB) must have a pre-aggregated Sphinx header, the address of the first hop in the route of the SURB, and the key material used to layer encrypt the payload.
SURBMaterial
SphinxHeader
SphinxPacket

Enums§

ProcessedHeader
ProcessedPacket

Constants§

DEFAULT_PAYLOAD_SIZE
DESTINATION_ADDRESS_LENGTH
HEADER_SIZE
IDENTIFIER_LENGTH
MAX_PATH_LENGTH
NODE_ADDRESS_LENGTH
PAYLOAD_KEY_SIZE
PAYLOAD_OVERHEAD_SIZE

Type Aliases§

EphemeralSecret
Result
A Result alias where the Err case is Sphinx::Error.
SURBIdentifier
SharedSecret