Peer to Peer TLS
Purpose
The purpose of this network is to provide secured AES asymmetric implementation that uses RSA. it is being designed as the network layer for a distributed artificial inteligence training platform known as Artifice. currently this crate is the furthest along in the Artifice Project by far.
Divergence From Classic TLS
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 maintain knowledge of the other in both directions, which allows for a more decentralized approach than traditional TLS.
Version Details
This version is a patch for previous version, it fixes the issue of packets being joined in tcp with respect to packet decryption. it also provides a more efficient means of using aes, in which instead of using a new aes key per packet, one is held for the entires session, increase the encryption speed at least 4x. This version also provides a patch for data being fragmented according to the MTU of the NIC.
Contact US
This crate is the base for a much larger project, as such submitting it to crates.io is simply done in order to test it, as such please don't hesitate to file bug reports, or use the below email.
email: artificenetwork@gmail.com
Implementation of SLLP
The SLLP implementation in this project ensures a pseudo connection that is private between two peers, by authenticating encrypted pre-shared keys. it is done for the sake of transfering large amounts of data quickly when precision is not needed.
Future Implementations
Example usage
Database usage
use HashDatabase;
use ArtificePeer;
use ;
Async
Dependencies
= { = "0.2.21", = ["full"]}
Async Client
use ;
async
Async Server
use ;
async
Sync
for sync examples and sllp examples see docs the camera example is to show a practical application, and test the network by supplying high load