Building a P2P Chat over Tor with Rust's arti-client (opens in new tab)
Post 5 of 6 on Anyhide. This post is about peer discovery and session setup over Tor. There's a surprising amount of work between "I have a cryptographic protocol" and "two people can talk to each other." This post is about that work. The protocol from assumes Alice and Bob can send each other bytes. It does not explain how they find each other in the first place, how they agree on a session, or what happens when the network drops messages. For Anyhide's chat, the answer to all three question...
Read the original article