Crate secret_stream [] [src]

Run a secret-handshake and return a box-stream encrypted connection.

This library uses libsodium internally. In application code, call sodiumoxide::init() before using any functions from this module.

Structs

Client

A future that initiates a secret-handshake and then yields a channel that encrypts/decrypts all data via box-stream.

OwningClient

A future that initiates a secret-handshake and then yields a channel that encrypts/decrypts all data via box-stream.

OwningServer

A future that accepts a secret-handshake and then yields a channel that encrypts/decrypts all data via box-stream.

OwningServerFilter

A future that accepts a secret-handshake based on a filter function and then yields a channel that encrypts/decrypts all data via box-stream.

Server

A future that accepts a secret-handshake and then yields a channel that encrypts/decrypts all data via box-stream.

ServerFilter

A future that accepts a secret-handshake based on a filter function and then yields a channel that encrypts/decrypts all data via box-stream.