Re: Small, free DLL to compute MD5 file hashing?

From: Jim Mack (jmack_at_mdxi.nospam.com)
Date: 10/04/04


Date: Mon, 4 Oct 2004 17:01:11 -0400

Fred wrote:
> Hi,
>
> I browsed through the archives and the web, but only found one
> DLL to hash files with MD5, but it's a bit old and too big.
>
> I need to perform hashing to check if a file changed, and download it
> from our site it need be. Ideally, that DLL should...
>
> - work on all versions of Windows, ie. don't make calls to CryptoAPI
> since its ADVAPI32.DLL is not available on 98 Original, and MD5
> doesn't seem implemented on the version available in 98SE
>
> - be small as I'll download it silently the first time a user launches
> my updater
>
> - be fast, as some files to hash can be 3Meg
>
> - open-source, or freeware (and preferably under development, in case
> it stops working with the latest Windows SP ;-))
>
> Thank you for any pointer
> Fred.

Seems as though you're exhausting the possibilities that lie within the
constraints of 'small - fast - free - universal'. If you're willing to
give up one of those criteria, consider our Stamina library. Its MD5
functions have no external dependencies, the DLL is about 120K, and the
code is written in 100% assembly language, making it the fastest MD5
available. It works with every version of VB/32 and VBA, on
95/98/NT/2K/XP.

The catch is that it's not free. And it has to share that 120K with the
other 450+ assembly language functions also in the library. :-)

For a couple hundred bucks we could strip out the MD5 code into its own
DLL -- no more than 2K or so -- but we don't release assembler source
code.

-- 
    Jim Mack
    MicroDexterity Inc
    www.microdexterity.com


Relevant Pages

  • Small, free DLL to compute MD5 file hashing?
    ... DLL to hash files with MD5, but it's a bit old and too big. ... I need to perform hashing to check if a file changed, and download it ...
    (microsoft.public.vb.general.discussion)
  • MD5s of Unofficial patches and other mistakes
    ... Now that the official patch is out, ... I got too paranoid, for good reason. ... When I saw the source code, which works patching a DLL at run-time based ... I'm offered an MD5 from the SAME distributing site that serves the patch installer. ...
    (Bugtraq)
  • Re: Small, free DLL to compute MD5 file hashing?
    ... > DLL to hash files with MD5, but it's a bit old and too big. ... Ideally, that DLL should... ... > - be small as I'll download it silently the first time a user launches ... Here's some code in java to calculate an MD5 hash, should be easy to convert to a C++ DLL since the two languages have similar ...
    (microsoft.public.vb.general.discussion)
  • What is the best way to create and validate an MD5 file fingerprint?
    ... It's a dll with very basic ... I can use ASP.NET 2.0 MD5 library. ... All I need to do is, backup my database, compute the MD5 checksum. ... two WMI scripts I need. ...
    (microsoft.public.scripting.wsh)
  • Re: Small, free DLL to compute MD5 file hashing?
    ... the only free DLL that takes a filename as input ... and spits out its hashing is XStandard's MD5 Checksum Component ... CryptoSys API costs US$159 ... License $129 Developer License $215 ...
    (microsoft.public.vb.general.discussion)

Quantcast