Re:Tox – An encrypted P2P chat protocol that does not rely o...
by evilaubergine on Sunday January 06, 2019 @08:47PM
(#18842111)
Tox in specific lets libsodium/nacl do all the cryptography and provides little above the core methods, the more complex parts were the networking
Re:Tox – An encrypted P2P chat protocol that does not rely o...
by marknadal on Sunday January 06, 2019 @08:53PM
(#18842137)
libsodium is great! We're considering supporting it in conjunction with WebCrypto. Yeah, networking is hard, but is the main thing we've worked on over the years.
We're using WebRTC and fallback to decentralized WebSocket relays (you can use multiple / nothing exclusive, run your own, etc.). What are you guys using?
Pretty easy to roll your own, these days, in less than 90 LOC: https://gist.github.com/amark/7dceae874a20878fdb9e2a8eed109b...
Here is a quick video demo of it in action: https://www.youtube.com/watch?v=gmdXU82vcbE
Warning! Ugly simple. So glad to see a full featured app like tox, use that instead. But for anyone interested in how they work or building their own... it is all Diffie-Hellman!!! :)