Expand description
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.
- Owning
Client - A future that initiates a secret-handshake and then yields a channel that encrypts/decrypts all data via box-stream.
- Owning
Server - A future that accepts a secret-handshake and then yields a channel that encrypts/decrypts all data via box-stream.
- Owning
Server Filter - 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.
- Server
Filter - 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.