rutcpduplex 0.1.0

Native Rust port of tcpduplex: encrypted full-duplex messaging over TCP (X25519 ECDH, AES-256-GCM)
Documentation
1
2
3
4
5
6
7
8
9
10
//! Cryptographic handshake and AES-GCM session compatible with Go `tcpduplex/crypto`.

mod handshake;
mod session;

pub use handshake::{
    client_handshake, server_handshake, HandshakeError, HandshakeOpts,
    ErrHandshakeAuthenticationFailed, ErrPeerFingerprintMismatch,
};
pub use session::Session;