[][src]Module sphinxcrypto::constants

The Sphinx packet geometry is parameterization.

Constants

AD_SIZE

The "authenticated data" portion of the Sphinx packet header which as specified contains the version number.

FORWARD_PAYLOAD_SIZE

The length of the usable forward payload of a Sphinx packet in bytes.

HEADER_SIZE

The size of the Sphinx packet header in bytes.

MAX_HOPS

The maximum number of hops a packet will traverse.

NODE_ID_SIZE

The node identifier size in bytes.

PAYLOAD_SIZE

The Sphinx packet payload size in bytes.

PAYLOAD_TAG_SIZE

The size in bytes of the payload tag.

PER_HOP_ROUTING_INFO_SIZE

The size in bytes of each routing info slot.

RECIPIENT_ID_SIZE

The recipient identifier size in bytes.

ROUTING_INFO_SIZE

The size in bytes of the routing info section of the packet header.

SPHINX_PLAINTEXT_HEADER_SIZE

The size of a BlockSphinxPlaintext in bytes.

SPHINX_REPLAY_TAG_SIZE

The size in bytes of the Sphinx packet replay tags.

SURB_ID_SIZE

The SURB identifier size in bytes.

SURB_SIZE

The size of a Single Use Reply Block

USER_FORWARD_PAYLOAD_SIZE

The size of the user portion of the forward payload.

V0_AD

The first section of our Sphinx packet, the authenticated unencrypted data containing version number.