Jump to content

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
Link to comment
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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...