[Tutor] Game server login encryption

Carlos Daniel Ruvalcaba Valenzuela clsdaniel at gmail.com
Sun Dec 24 19:55:19 CET 2006

You can use SSL encripted connections, for logon and all session if
you like, socket module has SSL support too:

http://docs.python.org/lib/socket-example.html  (check last example)

As for hashes, password hashing with md5, most sites or systems
authenticates against the hash, never use the clear password, a hash
is better and can be faster.


Carlos Daniel Ruvalcaba Valenzuela

On 12/24/06, Adam Bark <adam.jtm30 at gmail.com> wrote:
> I'm currently writing a networked game and I'm about to write a proper
> implementation of the logon server. I would prefer to have some sort of
> encryption but would like some opinions. The way I see it either I can take
> a hash of some data eg. username, password, port and ip and check the hash
> against one generated on the server. Alternatively I could use twisted conch
> tunneling through ssh. I anybody has any opinions on either of these ideas
> or anything else that might be useful, fire away.
> Cheers,
> Adam.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

More information about the Tutor mailing list