From 41f05bb146d51dfd29185c9582e6e4a8611286fd Mon Sep 17 00:00:00 2001 From: viega Date: Sat, 30 May 1998 16:17:39 +0000 Subject: Ah, I saw the "More condensed" interface to md5, and used that instead. --- modules/mm_crypt.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/mm_crypt.py b/modules/mm_crypt.py index f495cdd2c..19783ec0b 100644 --- a/modules/mm_crypt.py +++ b/modules/mm_crypt.py @@ -3,6 +3,4 @@ try: except ImportError: def crypt(string, seed): import md5 - m = md5.new() - m.update(string) - return m.digest() \ No newline at end of file + return md5.new(string).digest() -- cgit v1.3.1