Vented
Vented is an event based TCP server with encryption that uses message pack for payload data.
Encryption
Vented uses key cryptography to encrypt the connection between the client and the serve. The authenticity of both parties is validated by global public keys that need to be known to both parties beforehand. The encryption itself uses randomly generated keys and a nonce that corresponds to the message number. The crate used for encryption is crypto_box which the XChaCha20Poly1305 encryption. The crate used for the key exchanges is x25519-dalek.
Usage
use VentedServer;
use Node;
use SecretKey;
use thread_rng;
use Event;