Crate mpc_protocol

source ·
Expand description

Relay service protocol types, encoding and helper functions.

§Size Limitations

The maximum size of a noise protocol message is 65535 and we further limit the size of buffers for encoding to 32KB.

Re-exports§

Structs§

  • Chunk is used to respect the 65535 limit for noise protocol messages.
  • Key pair used by the noise protocol.
  • Meeting point information.
  • Manages a collection of meeting points.
  • Response from creating a meeting point.
  • Parameters used during key generation.
  • Sealed envelope is an encrypted message.
  • Session is a namespace for a group of participants to communicate for a series of rounds.
  • Manages a collection of sessions.
  • Request to create a new session.
  • Response from creating new session.
  • User identifier wraps an SHA-256 hash of a unique arbitrary value.

Enums§

Constants§

Functions§

Type Aliases§