Crate nym_sphinx

Crate nym_sphinx 

Source

Re-exports§

pub use nym_sphinx_acknowledgements as acknowledgements;
pub use nym_sphinx_addressing as addressing;
pub use nym_sphinx_anonymous_replies as anonymous_replies;
pub use nym_sphinx_chunking as chunking;
pub use nym_sphinx_cover as cover;
pub use nym_sphinx_forwarding as forwarding;
pub use nym_sphinx_params as params;
pub use nym_sphinx_routing as routing;
pub use nym_sphinx_framing as framing;

Modules§

constants
crypto
header
message
preparer
receiver
utils

Structs§

Delay
Destination
DestinationAddressBytes
Node
NodeAddressBytes
NymPayloadBuilder
OutfoxPacket
OutfoxProcessedPacket
Payload
ProcessedHeader
ProcessedPacket
PublicKey
A Diffie-Hellman public key
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
SphinxError
Possible Sphinx errors, very strongly based on std::io::Error implementation
SphinxHeader
SphinxPacket
SphinxPacketBuilder
Version

Enums§

NymPacket
NymPacketError
NymProcessedPacket
OutfoxError
ProcessedPacketData

Constants§

CURRENT_VERSION
DEFAULT_PAYLOAD_SIZE
DESTINATION_ADDRESS_LENGTH
HEADER_SIZE
IDENTIFIER_LENGTH
INITIAL_LEGACY_VERSION
KNOWN_VERSIONS
MAX_PATH_LENGTH
MIN_PACKET_SIZE
MIX_PARAMS_LEN
NODE_ADDRESS_LENGTH
OUTFOX_PACKET_OVERHEAD
PAYLOAD_KEYS_SEEDS_VERSION
PAYLOAD_KEY_SIZE
PAYLOAD_OVERHEAD_SIZE
REPLAY_TAG_SIZE
Output of the h𝜏 hash function / random oracle
UPDATED_LEGACY_VERSION
X25519_WITH_EXPLICIT_PAYLOAD_KEYS_VERSION

Type Aliases§

PayloadKey
PayloadKeySeed
PrivateKey
SURBIdentifier