md5 check
Dan Sommers
dan at tombstonezero.net
Wed Apr 18 23:14:08 EDT 2012
On Thu, 19 Apr 2012 09:31:05 +0800
contro opinion <contropinion at gmail.com> wrote:
> i have download file (gpg4win-2.1.0.exe from
> http://www.gpg4win.org/download.html)
> when i run :
>
> Type "help", "copyright", "credits" or "license" for
> >>> import md5
> >>> f=open('c:\gpg4win-2.1.0.exe','r')
> >>> print md5.new(f.read()).hexdigest()
> 'd41d8cd98f00b204e9800998ecf8427e'
>
> it is not = f619313cb42241d6837d20d24a814b81a1fe7f6d
> gpg4win-2.1.0.exe please see :gpg4win-2.1.0.exe from
> http://www.gpg4win.org/download.html
>
> why ?
Because f619313cb42241d6837d20d24a814b81a1fe7f6d is too long to be an
md5 digest? According to that web page, it is an sha-1 digest.
HTH,
Dan
More information about the Python-list
mailing list