# HG changeset patch # User Sylvain Thénault # Date 1276779875 -7200 # Node ID c077df1d033308a878d568f3471444599f384925 # Parent 9e4f8db6696287dec6d26077419647934236f3d5 [md5script] cleanup diff -r 9e4f8db66962 -r c077df1d0333 md5crypt.py --- a/md5crypt.py Thu Jun 17 15:02:24 2010 +0200 +++ b/md5crypt.py Thu Jun 17 15:04:35 2010 +0200 @@ -1,24 +1,3 @@ -######################################################### -# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. -# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr -# -# This file is part of CubicWeb. -# -# CubicWeb is free software: you can redistribute it and/or modify it under the -# terms of the GNU Lesser General Public License as published by the Free -# Software Foundation, either version 2.1 of the License, or (at your option) -# any later version. -# -# CubicWeb is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more -# details. -# -# You should have received a copy of the GNU Lesser General Public License along -# with CubicWeb. If not, see . -""" -XXX clarify this header -""" # md5crypt.py # # 0423.2000 by michal wallace http://www.sabren.com/ @@ -36,6 +15,7 @@ # * remove usage of the string module # * don't include the magic string in the output string # for true crypt.crypt compatibility +# * use hashlib module instead of md5 ######################################################### """md5crypt.py - Provides interoperable MD5-based crypt() function