jaclaz Posted April 7, 2013 Share Posted April 7, 2013 (edited) 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-assemblyGilles Vollant made some tests some time ago (experimenting with Win 64):http://www.winimage.com/misc/readfile_test.htmhttp://www.winimage.com/md5-amd64-ms.htmAnd possibly this (this should be "pure" assembler)http://www.asmcommunity.net/board/index.php?topic=14399.0which 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_nLLnEhttp://code.google.com/p/rewolf-md5/and this:http://www.autoitscript.com/forum/topic/76976-md5sha1crc32rc4base64xxtea-machine-code-version/jaclaz Edited April 7, 2013 by jaclaz Link to comment Share on other sites More sharing options...
Glenn9999 Posted April 10, 2013 Share Posted April 10, 2013 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now