zetaron / python-udp-p2p

UDP p2p Spielplatz
4 stars 0 forks source link

encryption #3

Open zetaron opened 12 years ago

zetaron commented 12 years ago

a handler that allows encryption therefor a modular system should be created to allow user specific encryption algorithms

zetaron commented 12 years ago

Add support for crypter registration just like it's possible to register handlers in the p2p class.

Perhaps include this to the p2p base class and then pipe every outgoing message through the encrypt function of the active crypter also do such a thing with the incoming packets but pipe them through the decrypt function of the crypter mentioned in the packet header

zetaron commented 12 years ago

consider usage of xz compression