the purpose of this network is to provide secured AES asymetric implementation that uses RSA to implement the asymetric nature of this projects encryption.
this crate aims to prevent man in the middle attacks by encrypting pre-shared keys that are sent in each packet. by doing this, even if a hacker has a public key, they will be unable to feed false information that could cause a crash to either of the peers. in this way each peer can mantain knowledge of the other in both directions, which allows for a more decentralized approach than draditional TLS.
see repository's RELEASE.md
Syncronous version asymetric AES encryption, data transfer rates exceeding 65535 bytes, by sending multiple blocks of data broken into packets of length 65535
a management crate, or database would be a better means of supplying peers to this network, each host having a databse containg a list of their paired peers.
toml
tokio = {version = "0.2.21", features = ["full"]}
```rust use networking::{asyncronous::AsyncHost, test_config};
async fn main() -> Result<(), Box
```rust use networking::{asyncronous::AsyncHost, test_config};
async fn main() -> Result<(), Box
for sync examples see docs