[Tutor] SHA256 P2P Chat in python
Lukas Nemec
lu.nemec at gmail.com
Mon Jun 9 09:14:06 CEST 2014
Hi,
I did a similar thing recently, a chat, that encrypts and signs (for
authenticity) each message sent with private-pub keypair:
https://github.com/lunemec/python-chat.
It is not p2p, it sends messages to server, which decrypts them,
encrypts with its pubkey and sends to all clients for decoding.
It is just a prototype and could be done better. I wanted to have the
server act only as a relay for clients to discover each other (no need
for DHT) and then to forward each client's pubkey to all others.
I'm not sure exactly how onion routing would be done, I suppose
something similar to Tor, but how would you want to use it on chat?
Lukas
On 06/08/2014 09:07 AM, Danny Yoo wrote:
>
>
> >> I was wondering if it is possible to make a p2p chat application
> with sha256 secured onion routing in python, and if so, what
> functions, guides, modules, etc. would I have to look at.
>
> This is somewhat outside of the experience of many folks on this list;
> you might consider asking on a broader forum. I suspect it is
> possible, given that Bram Cohen's original bittorent was written in
> Python.
>
> Try asking on the main Python mailing list. Good luck!
>
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140609/7403f1c2/attachment.html>
More information about the Tutor
mailing list