Send password over TCP connection

Michael Ströder michael at stroeder.com
Thu Oct 13 16:45:32 EDT 2005


dcrespo wrote:
> 
> Ok, I understand it. What about the MD5? Is it good enough to use when
> saving a hashed password on the database?
> 
> For example:
> user_input = raw_input("Type your password: ")
> password = md5.md5(user_input).hexdigest()
> SavePasswordInDatabase(user,password)

It would be better to use salted SHA-1.

Ciao, Michael.



More information about the Python-list mailing list