Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18836

Re: ERROR:root:code for hash md5 was not found

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: ERROR:root:code for hash md5 was not found
Date 2012-01-11 12:12 -0500
References <f777e948-02ca-45d3-a858-73e0003d7bcc@t13g2000vbt.googlegroups.com> <4F0D7274.9080905@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4654.1326301984.27778.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, 11 Jan 2012 12:28:52 +0100, Laurent Claessens
<moky.math@gmail.com> 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/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 03:19 -0800
  Re: ERROR:root:code for hash md5 was not found Laurent Claessens <moky.math@gmail.com> - 2012-01-11 12:28 +0100
    Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 05:54 -0800
      Re: ERROR:root:code for hash md5 was not found Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-11 23:28 +0000
        Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 22:13 -0800
          Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 23:25 -0800
          Re: ERROR:root:code for hash md5 was not found Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-13 03:34 +0000
            Re: ERROR:root:code for hash md5 was not found alex23 <wuwei23@gmail.com> - 2012-01-12 20:41 -0800
              Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-13 06:14 -0800
                Re: ERROR:root:code for hash md5 was not found Michael Torrie <torriem@gmail.com> - 2012-01-13 09:49 -0700
                Re: ERROR:root:code for hash md5 was not found Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-14 04:30 +0000
                Re: ERROR:root:code for hash md5 was not found Marc Christiansen <usenet@solar-empire.de> - 2012-01-14 13:33 +0100
    Re: ERROR:root:code for hash md5 was not found Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-01-11 12:12 -0500
  Re: ERROR:root:code for hash md5 was not found Terry Reedy <tjreedy@udel.edu> - 2012-01-11 13:25 -0500
  Re: ERROR:root:code for hash md5 was not found Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-01-11 21:23 -0500

csiph-web