Skip to main content

Crate commonware_stream

Crate commonware_stream 

Source
Expand description

Exchange messages over arbitrary transport.

§Status

Stability varies by primitive. See README for details.

Modules§

cups
Counter Unidirectional Packet Stream (CUPS).
sake
Run Simple Authenticated Key Exchange (SAKE) over an ordered byte stream.
utils
Utilities for stream implementations.

Traits§

Handshake
Authenticates a raw connection and agrees on a secret Transcript.
Receiver
Receives ordered, authenticated messages on an established connection.
Sender
Sends ordered, authenticated messages on an established connection.
Upgrader
Authenticates a raw connection and upgrades it to an ordered message stream.

Type Aliases§

SakeCups
CUPS running a SAKE handshake with cipher C.