Module handshake

Source
Available on crate feature hs-common only.
Expand description

Features for manual invocation of Tor’s cryptographic circuit handshakes.

These features are used to implement onion services, by giving the onion service code more direct control over the lower-level pieces of the protocol.

Modules§

hs_ntor
Implements the HS ntor key exchange, as used in v3 onion services.

Enums§

HandshakeRole
What role we are playing in a handshake.
RelayProtocol
The relay protocol to use when extending a circuit manually with Circuit::extend_virtual.

Traits§

KeyGenerator
A KeyGenerator is returned by a handshake, and used to generate session keys for the protocol.