From: <Blu...@us...> - 2009-12-18 19:07:12
|
Revision: 323 http://virtplayground.svn.sourceforge.net/virtplayground/?rev=323&view=rev Author: BlueWolf_ Date: 2009-12-18 19:06:56 +0000 (Fri, 18 Dec 2009) Log Message: ----------- Changed sha to hashlib.sha1 in the documentation Modified Paths: -------------- trunk/client/core/client.py Modified: trunk/client/core/client.py =================================================================== --- trunk/client/core/client.py 2009-12-18 10:37:06 UTC (rev 322) +++ trunk/client/core/client.py 2009-12-18 19:06:56 UTC (rev 323) @@ -178,11 +178,11 @@ """ Log in to the server. You should have received the RSA-key before calling this! - pwd is expected to be sha. Bot should be True or False. Bots + pwd is expected to be sha1. Bot should be True or False. Bots have different functions in VP. - >>> import sha - >>> sha.new("MyVerySecretPassword").hexdigest() + >>> import hashlib + >>> hashlib.sha1("MyVerySecretPassword").hexdigest() 'dc2275e9f1e53926dce503ec7d9df9ac9ce07dfc' """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |