Expand description
Implements basic cryptography-related types based on primitives, such as Hash, PublicKey and Signature.
Structs§
- Challenge
- Contains the complete Proof-of-Relay challenge is a secp256k1 curve point.
- HalfKey
- Represents a half-key used for the Proof-of-Relay.
- Half
KeyChallenge - Represents a challenge for the half-key in Proof of Relay.
- Hash
Base - Represents a generic 256-bit hash value.
- Offchain
Public Key - Represents an Ed25519 public key.
- Public
Key - Represents a secp256k1 public key.
- Response
- Contains a response upon ticket acknowledgement It is equivalent to a non-zero secret scalar on secp256k1 (EC private key).
- Simple
Pseudonym - Represents a simple UUID-like pseudonym consisting of 10 bytes.
Constants§
- PACKET_
TAG_ LENGTH - Length of a packet tag
Traits§
- Pseudonym
- Pseudonym used to identify the creator of a
SURB
. This allows indexingSURB
andLocalSURBEntry
at both parties.