[][src]Module sphinxcrypto::client

Client-side Sphinx library functions

Structs

PathHop

PathHop describes a route hop that a Sphinx Packet will traverse, along with all of the per-hop Commands (excluding the Next Hop command).

SprpKey

SprpKey is a struct that contains a SPRP key and SPRP IV.

Functions

create_header

create a new sphinx header

decrypt_surb_payload

decrypt a SURB reply payload

new_packet

create a new sphinx packet

new_packet_from_surb

create a sphinx packet from a SURB and payload

new_surb

create a new SURB