Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:code': 0.07; '>>>>': 0.09; 'portions': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:was': 0.15; '"copyright",': 0.16; '"credits"': 0.16; '"license"': 0.16; 'bieber': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'hashlib': 0.16; 'linux2': 0.16; 'message-id:@4ax.com': 0.16; 'pythonwin': 0.16; 'received:wlfraed': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'wed,': 0.17; 'wrote:': 0.18; '>>>': 0.18; 'jan': 0.19; 'subject:not': 0.21; 'url:home': 0.21; 'feb': 0.22; '+0100,': 0.23; 'received:166': 0.23; 'sep': 0.23; 'import': 0.27; 'lee': 0.28; 'bit': 0.28; "skip:' 30": 0.29; 'skip:> 30': 0.30; 'header:X-Complaints-To:1': 0.33; 'to:addr :python-list': 0.34; 'charset:us-ascii': 0.37; 'received:org': 0.38; 'mark': 0.39; 'to:addr:python.org': 0.40; 'more': 0.61; 'copyright': 0.64; 'further': 0.64; '2012': 0.67; 'dennis': 0.73; '2.7.1': 0.84; 'subject::': 0.87; 'here...': 0.91; 'subject:found': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: ERROR:root:code for hash md5 was not found Date: Wed, 11 Jan 2012 12:12:45 -0500 References: <4F0D7274.9080905@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: mobile-166-147-101-182.mycingular.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1326301984 news.xs4all.nl 6896 [2001:888:2000:d::a6]:40964 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:18836 On Wed, 11 Jan 2012 12:28:52 +0100, Laurent Claessens wrote: > >Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) >[GCC 4.4.5] on linux2 >Type "help", "copyright", "credits" or "license" for more information. >>>> import hashlib >>>> h=hashlib.new("md5") >>>> h.update("Hello") >>>> h.hexdigest() >'d992641f1b2b9c08b569c0a17c4e7cb8' > Interesting... I get a different result here... PythonWin 2.7.1 (r271:86832, Feb 7 2011, 11:33:02) [MSC v.1500 64 bit (AMD64)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information. >>> import hashlib >>> h = hashlib.new("md5") >>> h.update("Hello") >>> h.hexdigest() '8b1a9953c4611296a827abf8c47804d7' >>> PythonWin 2.7.1 (r271:86832, Feb 7 2011, 11:30:38) [MSC v.1500 32 bit (Intel)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information. >>> import hashlib >>> h = hashlib.new("md5") >>> h.update("Hello") >>> h.hexdigest() '8b1a9953c4611296a827abf8c47804d7' >>> -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/