Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
tomasz86

Looking for a VBS script to generate MD5 of a file

Recommended Posts

Got a look at it. Can't say for sure the rest of it is good, but the MD5 part looks relatively standard coding. If there's much appreciable difference from different good implementations (i.e. nothing completely stupid is done), it's probably going to be from the degree of quality of the assembler/compiler used (best being full ASM of course). To that end, I do notice a small speed overhead from UPX-packed executables, so what you'll end up with will be *slightly* faster if it's not UPX-compressed.

See if this is of use:

http://nayuki.eigenstate.org/page/fast-md5-hash-implementation-in-x86-assembly

Gilles Vollant made some tests some time ago (experimenting with Win 64):

http://www.winimage.com/misc/readfile_test.htm

http://www.winimage.com/md5-amd64-ms.htm

And possibly this :unsure: (this should be "pure" assembler)

http://www.asmcommunity.net/board/index.php?topic=14399.0

which seems written NOT with "speed", but rather with "size" in mind, but maybe still worth a try.

See also this:

http://blog.rewolf.pl/blog/?p=163#.UWGnx_nLLnE

http://code.google.com/p/rewolf-md5/

and this:

http://www.autoitscript.com/forum/topic/76976-md5sha1crc32rc4base64xxtea-machine-code-version/

jaclaz

Edited by jaclaz

Share this post


Link to post
Share on other sites

Thanks for the references. The more I look at it, the more it looks like that I need to just write more of the main part in assembler (if I can). Meantime, I got other things I need to get done (like yesterday, I got something that will compare a folder of files against a text file list (like a WUD UL or one from my downloader) and point out the files that don't exist in the text file list. Basically a "get rid of all the old patch files" function.).

Thanks again for the help and hope what was posted here was useful to those that downloaded them.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...